forked from len0rd/rockbox
Case insensitive compare for BOOTFILE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4063 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dc3c48d795
commit
3316a0f787
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ struct entry* load_and_sort_directory(char *dirname, int *dirfilter,
|
|||
}
|
||||
|
||||
/* memorize/compare details about the boot file */
|
||||
if ((currdir[1] == 0) && !strcmp(entry->d_name, BOOTFILE)) {
|
||||
if ((currdir[1] == 0) && !stricmp(entry->d_name, BOOTFILE)) {
|
||||
if (boot_size) {
|
||||
if ((entry->size != boot_size) ||
|
||||
(entry->startcluster != boot_cluster))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue