Made set_file() case insensitive.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5038 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Henrik Backe 2004-09-05 16:43:31 +00:00
parent 0f04656325
commit c8e2791420

View file

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