summaryrefslogtreecommitdiff
path: root/apps/shortcuts.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-12-05 19:35:27 +0000
committerNils Wallménius <nils@rockbox.org>2011-12-05 19:35:27 +0000
commitfb6b28d11cd4332caba4f03996e334d4e9a5aed4 (patch)
treebfe22d6a75bf3a001eecf6add57c1a1175137aed /apps/shortcuts.c
parenta0377bd500bc3185f840a67b4ee82ddaf7eaa5ab (diff)
Missed one const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r--apps/shortcuts.c4
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 @@
#define MAX_SHORTCUT_NAME 32
#define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt"
-static char * const type_strings[SHORTCUT_TYPE_COUNT] = {
+static const char * const type_strings[SHORTCUT_TYPE_COUNT] = {
[SHORTCUT_SETTING] = "setting",
[SHORTCUT_FILE] = "file",
[SHORTCUT_DEBUGITEM] = "debug",
@@ -167,7 +167,7 @@ void shortcuts_ata_idle_callback(void* data)
while (current_idx < shortcut_count)
{
struct shortcut* sc = get_shortcut(current_idx++);
- char *type;
+ const char *type;
int len;
if (!sc)
break;