summaryrefslogtreecommitdiff
path: root/apps/shortcuts.c
diff options
context:
space:
mode:
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 @@
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"
47static char * const type_strings[SHORTCUT_TYPE_COUNT] = { 47static 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;