aboutsummaryrefslogtreecommitdiff
path: root/fileio.c
diff options
context:
space:
mode:
authortenox <as@tenoware.com>2016-08-07 01:48:08 -0700
committertenox <as@tenoware.com>2016-08-07 01:48:08 -0700
commitd104daea0969f5b3c9b55c769193da6d8ea99de1 (patch)
treeeadd6a05cdc10375a747a1dcb449925d09925d06 /fileio.c
parent274dfc4a4d2be5654e1b02275b81a5ba017dedf6 (diff)
downloadwfm-d104daea0969f5b3c9b55c769193da6d8ea99de1.tar.gz
fixed asdir case sensitivity1.0.2
Diffstat (limited to 'fileio.c')
-rw-r--r--fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fileio.c b/fileio.c
index a6c24c9..c9d0380 100644
--- a/fileio.c
+++ b/fileio.c
@@ -438,11 +438,11 @@ void re_dir_ui(char *vdir, int level) {
// Scandir replacement function
//
int namesort(const void *d1, const void *d2) {
- return(strcmp( ((ASDIR*)d1)->name, ((ASDIR*)d2)->name));
+ return(strcasecmp(((ASDIR*)d1)->name, ((ASDIR*)d2)->name));
}
int rnamesort(const void *d1, const void *d2) {
- return(strcmp( ((ASDIR*)d2)->name, ((ASDIR*)d1)->name));
+ return(strcasecmp(((ASDIR*)d2)->name, ((ASDIR*)d1)->name));
}
int sizesort(const void *d1, const void *d2) {