diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-22 22:40:43 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-22 22:40:43 +0530 |
commit | b57e209242c4db56816e5c60beb15a347280bb6a (patch) | |
tree | 66022f8858759edad3aa277a449f4951e530acc4 | |
parent | 1b494b0d26f1ff529aa6a6c1dd3768bcaa3aa0a6 (diff) | |
download | nnn-b57e209242c4db56816e5c60beb15a347280bb6a.tar.gz |
Revert "Use library function for numeric sort"
This reverts commit 1b494b0d26f1ff529aa6a6c1dd3768bcaa3aa0a6.
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1038,7 +1038,6 @@ static bool xdiraccess(const char *path) return TRUE; } -#if 0 /* * We assume none of the strings are NULL. * @@ -1092,7 +1091,6 @@ static int xstricmp(const char * const s1, const char * const s2) return strcoll(s1, s2); } -#endif /* Return the integer value of a char representing HEX */ static char xchartohex(char c) @@ -1169,7 +1167,7 @@ static int entrycmp(const void *va, const void *vb) return -1; } - return strverscmp(pa->name, pb->name); + return xstricmp(pa->name, pb->name); } /* |