summaryrefslogtreecommitdiff
path: root/src/textbuf_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textbuf_gui.h')
-rw-r--r--src/textbuf_gui.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textbuf_gui.h b/src/textbuf_gui.h
index c96f4e2e0..200d62582 100644
--- a/src/textbuf_gui.h
+++ b/src/textbuf_gui.h
@@ -37,8 +37,7 @@ static const uint OSK_KEYBOARD_ENTRIES = 50;
/**
* The number of characters has to be OSK_KEYBOARD_ENTRIES. However, these
* have to be UTF-8 encoded, which means up to 4 bytes per character.
- * Furthermore the string needs to be '\0'-terminated.
*/
-extern char _keyboard_opt[2][OSK_KEYBOARD_ENTRIES * 4 + 1];
+extern std::string _keyboard_opt[2];
#endif /* TEXTBUF_GUI_H */