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 | |
parent | 274dfc4a4d2be5654e1b02275b81a5ba017dedf6 (diff) | |
download | wfm-d104daea0969f5b3c9b55c769193da6d8ea99de1.tar.gz |
fixed asdir case sensitivity1.0.2
-rw-r--r-- | fileio.c | 4 | ||||
-rw-r--r-- | wfm.h | 2 |
2 files changed, 3 insertions, 3 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) { @@ -1,4 +1,4 @@ -#define VERSION "1.0.1" +#define VERSION "1.0.2" #define copyright "<!-- WFM Version " VERSION ", Mountain View, CA, " __DATE__ " [" __TIME__ "] -->\n<!-- Copyright (c) 1994-2015 by Antoni Sawicki -->\n" #define CSS_STYLE \ |