1
0
Fork 0
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:
Björn Stenberg 2003-11-24 09:29:16 +00:00
parent dc3c48d795
commit 3316a0f787

View file

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