diff options
author | Ian C <ianc@noddybox.co.uk> | 2007-04-03 23:05:47 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2007-04-03 23:05:47 +0000 |
commit | 4e51d5ddfc4b5f033d8558fb6b529fe90bd3892a (patch) | |
tree | 760a97bca28faf0ba93b2a63e969c0102e1be3fe /source | |
parent | e4ad530b872ca5b757b7dbde55531ae462af779f (diff) |
*** empty log message ***
Diffstat (limited to 'source')
-rw-r--r-- | source/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gui.c b/source/gui.c index 886c103..ed30706 100644 --- a/source/gui.c +++ b/source/gui.c @@ -109,7 +109,7 @@ static int SortFiles(const void *a, const void *b) if (f1->is_dir == f2->is_dir) { - return strcmp(f1->name, f2->name); + return strcasecmp(f1->name, f2->name); } else if (f1->is_dir) { @@ -142,7 +142,7 @@ static int ValidFilename(const char *name, int is_dir, const char *filter) if (l > f) { - if (strcmp(name+l-f,filter) == 0) + if (strcasecmp(name+l-f,filter) == 0) { return 1; } |