mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Revert "Use library function for numeric sort"
This reverts commit 1b494b0d26
.
This commit is contained in:
parent
1b494b0d26
commit
b57e209242
1 changed files with 1 additions and 3 deletions
|
@ -1038,7 +1038,6 @@ static bool xdiraccess(const char *path)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
/*
|
/*
|
||||||
* We assume none of the strings are NULL.
|
* 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);
|
return strcoll(s1, s2);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Return the integer value of a char representing HEX */
|
/* Return the integer value of a char representing HEX */
|
||||||
static char xchartohex(char c)
|
static char xchartohex(char c)
|
||||||
|
@ -1169,7 +1167,7 @@ static int entrycmp(const void *va, const void *vb)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return strverscmp(pa->name, pb->name);
|
return xstricmp(pa->name, pb->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue