Missed one const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31154 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a0377bd500
commit
fb6b28d11c
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
#define MAX_SHORTCUT_NAME 32
|
#define MAX_SHORTCUT_NAME 32
|
||||||
#define SHORTCUTS_FILENAME ROCKBOX_DIR "/shortcuts.txt"
|
#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_SETTING] = "setting",
|
||||||
[SHORTCUT_FILE] = "file",
|
[SHORTCUT_FILE] = "file",
|
||||||
[SHORTCUT_DEBUGITEM] = "debug",
|
[SHORTCUT_DEBUGITEM] = "debug",
|
||||||
|
@ -167,7 +167,7 @@ void shortcuts_ata_idle_callback(void* data)
|
||||||
while (current_idx < shortcut_count)
|
while (current_idx < shortcut_count)
|
||||||
{
|
{
|
||||||
struct shortcut* sc = get_shortcut(current_idx++);
|
struct shortcut* sc = get_shortcut(current_idx++);
|
||||||
char *type;
|
const char *type;
|
||||||
int len;
|
int len;
|
||||||
if (!sc)
|
if (!sc)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue