summaryrefslogtreecommitdiffstats
path: root/apps/neo/keyboard.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-03 19:22:56 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-03 19:22:56 +0000
commit9478cc6f8a1f5155131bb001ed76e5309bfc4951 (patch)
tree8453ecfa3ac88269986000eb432441df318cd04c /apps/neo/keyboard.c
parent2b0694c6944f2ea155291b62a00c11b89cd63914 (diff)
downloadrockbox-9478cc6f8a1f5155131bb001ed76e5309bfc4951.tar.gz
rockbox-9478cc6f8a1f5155131bb001ed76e5309bfc4951.tar.bz2
rockbox-9478cc6f8a1f5155131bb001ed76e5309bfc4951.zip
More const policeing step 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/neo/keyboard.c')
-rw-r--r--apps/neo/keyboard.c6
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);
#define KEYBOARD_MAX_LENGTH 255
-static unsigned char* kbd_screens[3] = {
+static const unsigned char* const kbd_screens[3] = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZ",
"abcdefghijklmnopqrstuvwxyz",
" !\"#$%&'()*+,-./0123456789;<=>?@[]^_`{|}"
};
-static unsigned char* kbd_screens_names[3] = {
+static const unsigned char* const kbd_screens_names[3] = {
"Capitals",
"Small",
"Others"
@@ -77,7 +77,7 @@ int kbd_input(char* text, int buflen)
int key;
int screen = 0;
int screenidx = -1;
- unsigned char * pcurscreen = kbd_screens[0];
+ const unsigned char * pcurscreen = kbd_screens[0];
bool ctl;
bufferlen = strlen(text);