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:
parent
0f04656325
commit
c8e2791420
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue