aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \