diff options
Diffstat (limited to 'apps/neo/keyboard.c')
-rw-r--r-- | apps/neo/keyboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/neo/keyboard.c b/apps/neo/keyboard.c index d81d7629b3..6dd315e16e 100644 --- a/apps/neo/keyboard.c +++ b/apps/neo/keyboard.c | |||
@@ -36,13 +36,13 @@ extern int button_add(unsigned int button); | |||
36 | 36 | ||
37 | #define KEYBOARD_MAX_LENGTH 255 | 37 | #define KEYBOARD_MAX_LENGTH 255 |
38 | 38 | ||
39 | static unsigned char* kbd_screens[3] = { | 39 | static const unsigned char* const kbd_screens[3] = { |
40 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ", | 40 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ", |
41 | "abcdefghijklmnopqrstuvwxyz", | 41 | "abcdefghijklmnopqrstuvwxyz", |
42 | " !\"#$%&'()*+,-./0123456789;<=>?@[]^_`{|}" | 42 | " !\"#$%&'()*+,-./0123456789;<=>?@[]^_`{|}" |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static unsigned char* kbd_screens_names[3] = { | 45 | static const unsigned char* const kbd_screens_names[3] = { |
46 | "Capitals", | 46 | "Capitals", |
47 | "Small", | 47 | "Small", |
48 | "Others" | 48 | "Others" |
@@ -77,7 +77,7 @@ int kbd_input(char* text, int buflen) | |||
77 | int key; | 77 | int key; |
78 | int screen = 0; | 78 | int screen = 0; |
79 | int screenidx = -1; | 79 | int screenidx = -1; |
80 | unsigned char * pcurscreen = kbd_screens[0]; | 80 | const unsigned char * pcurscreen = kbd_screens[0]; |
81 | bool ctl; | 81 | bool ctl; |
82 | 82 | ||
83 | bufferlen = strlen(text); | 83 | bufferlen = strlen(text); |