From c8e279142049ad2b6f6d94e4fc5c9f806368f7ff Mon Sep 17 00:00:00 2001 From: Henrik Backe Date: Sun, 5 Sep 2004 16:43:31 +0000 Subject: [PATCH] Made set_file() case insensitive. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5038 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;