aboutsummaryrefslogtreecommitdiff
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
parent274dfc4a4d2be5654e1b02275b81a5ba017dedf6 (diff)
downloadwfm-d104daea0969f5b3c9b55c769193da6d8ea99de1.tar.gz
fixed asdir case sensitivity1.0.2
-rw-r--r--fileio.c4
-rw-r--r--wfm.h2
2 files changed, 3 insertions, 3 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) {
diff --git a/wfm.h b/wfm.h
index 9f6d6c6..ab1137b 100644
--- a/wfm.h
+++ b/wfm.h
@@ -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 \