diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-12-05 19:35:27 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-12-05 19:35:27 +0000 |
commit | fb6b28d11cd4332caba4f03996e334d4e9a5aed4 (patch) | |
tree | bfe22d6a75bf3a001eecf6add57c1a1175137aed /apps | |
parent | a0377bd500bc3185f840a67b4ee82ddaf7eaa5ab (diff) | |
download | rockbox-fb6b28d11cd4332caba4f03996e334d4e9a5aed4.tar.gz rockbox-fb6b28d11cd4332caba4f03996e334d4e9a5aed4.zip |
Missed one const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/shortcuts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 3943a6a56a..554184948c 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -44,7 +44,7 @@ | |||
44 | 44 | ||
45 | #define MAX_SHORTCUT_NAME 32 | 45 | #define MAX_SHORTCUT_NAME 32 |
46 | #define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt" | 46 | #define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt" |
47 | static char * const type_strings[SHORTCUT_TYPE_COUNT] = { | 47 | static const char * const type_strings[SHORTCUT_TYPE_COUNT] = { |
48 | [SHORTCUT_SETTING] = "setting", | 48 | [SHORTCUT_SETTING] = "setting", |
49 | [SHORTCUT_FILE] = "file", | 49 | [SHORTCUT_FILE] = "file", |
50 | [SHORTCUT_DEBUGITEM] = "debug", | 50 | [SHORTCUT_DEBUGITEM] = "debug", |
@@ -167,7 +167,7 @@ void shortcuts_ata_idle_callback(void* data) | |||
167 | while (current_idx < shortcut_count) | 167 | while (current_idx < shortcut_count) |
168 | { | 168 | { |
169 | struct shortcut* sc = get_shortcut(current_idx++); | 169 | struct shortcut* sc = get_shortcut(current_idx++); |
170 | char *type; | 170 | const char *type; |
171 | int len; | 171 | int len; |
172 | if (!sc) | 172 | if (!sc) |
173 | break; | 173 | break; |