Missed one const.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31154 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2011-12-05 19:35:27 +00:00
parent a0377bd500
commit fb6b28d11c

View file

@ -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;