diff options
author | rubidium42 <rubidium@openttd.org> | 2021-04-28 17:32:33 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-13 23:13:17 +0200 |
commit | 95386dc2b8404519c91b9e0ad728c39fb1d9e118 (patch) | |
tree | 2ae78944bdb83d220e7d9574302848e26b39baf8 /src/textbuf_gui.h | |
parent | 77330d09fd8307261e94fe0eb0260f5ca5cc3898 (diff) | |
download | openttd-95386dc2b8404519c91b9e0ad728c39fb1d9e118.tar.xz |
Codechange: move misc settings to std::string
Diffstat (limited to 'src/textbuf_gui.h')
-rw-r--r-- | src/textbuf_gui.h | 3 |
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 */ |