From 95386dc2b8404519c91b9e0ad728c39fb1d9e118 Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Wed, 28 Apr 2021 17:32:33 +0200 Subject: Codechange: move misc settings to std::string --- src/textbuf_gui.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/textbuf_gui.h') 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 */ -- cgit v1.2.3-54-g00ecf