summaryrefslogtreecommitdiff
path: root/apps
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
parentdc3c48d7958798772de9bbb06299607ffde8c6ea (diff)
Case insensitive compare for BOOTFILE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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,
}
/* 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))