diff options
-rw-r--r-- | apps/settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index b469ce6d54..ccb7703ab2 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -875,7 +875,7 @@ void set_file(char* filename, char* setting, int maxlen) ptr--; } - if (strncmp(ROCKBOX_DIR, filename ,strlen(ROCKBOX_DIR)) || + if (strncasecmp(ROCKBOX_DIR, filename ,strlen(ROCKBOX_DIR)) || (len-extlen > maxlen)) return; |