summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorHenrik Backe <henrik@backe.eu>2004-09-05 16:43:31 +0000
committerHenrik Backe <henrik@backe.eu>2004-09-05 16:43:31 +0000
commitc8e279142049ad2b6f6d94e4fc5c9f806368f7ff (patch)
tree6b36596c725e374e397aed32c0b7cef73a4e0184 /apps
parent0f0465632511f220e079d80051c0ba06880bf5ee (diff)
Made set_file() case insensitive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5038 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.c2
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;