From fb6b28d11cd4332caba4f03996e334d4e9a5aed4 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 5 Dec 2011 19:35:27 +0000 Subject: Missed one const. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31154 a1c6a512-1295-4272-9138-f99709370657 --- apps/shortcuts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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; -- cgit v1.2.3