summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-11-24 09:29:16 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-11-24 09:29:16 +0000
commit3316a0f78773707fb23d24e62859c4ca33bd381d (patch)
tree00eeca9bf20b0c09407e91e71cae9fcdcfa74841 /apps/tree.c
parentdc3c48d7958798772de9bbb06299607ffde8c6ea (diff)
downloadrockbox-3316a0f78773707fb23d24e62859c4ca33bd381d.tar.gz
rockbox-3316a0f78773707fb23d24e62859c4ca33bd381d.zip
Case insensitive compare for BOOTFILE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 40f880eab3..cd44e05e90 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -318,7 +318,7 @@ struct entry* load_and_sort_directory(char *dirname, int *dirfilter,
318 } 318 }
319 319
320 /* memorize/compare details about the boot file */ 320 /* memorize/compare details about the boot file */
321 if ((currdir[1] == 0) && !strcmp(entry->d_name, BOOTFILE)) { 321 if ((currdir[1] == 0) && !stricmp(entry->d_name, BOOTFILE)) {
322 if (boot_size) { 322 if (boot_size) {
323 if ((entry->size != boot_size) || 323 if ((entry->size != boot_size) ||
324 (entry->startcluster != boot_cluster)) 324 (entry->startcluster != boot_cluster))