diff options
author | tenox <as@tenoware.com> | 2016-08-07 01:48:08 -0700 |
---|---|---|
committer | tenox <as@tenoware.com> | 2016-08-07 01:48:08 -0700 |
commit | d104daea0969f5b3c9b55c769193da6d8ea99de1 (patch) | |
tree | eadd6a05cdc10375a747a1dcb449925d09925d06 /fileio.c | |
parent | 274dfc4a4d2be5654e1b02275b81a5ba017dedf6 (diff) | |
download | wfm-d104daea0969f5b3c9b55c769193da6d8ea99de1.tar.gz |
fixed asdir case sensitivity1.0.2
Diffstat (limited to 'fileio.c')
-rw-r--r-- | fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |