mirror of
https://github.com/jarun/nnn.git
synced 2025-04-19 11:54:54 +00:00
Extension order: show files without extension on top
This commit is contained in:
parent
604a8fafcc
commit
9a757c4905
1 changed files with 2 additions and 2 deletions
|
@ -1870,10 +1870,10 @@ static int entrycmp(const void *va, const void *vb)
|
|||
|
||||
if (extna || extnb) {
|
||||
if (!extna)
|
||||
return 1;
|
||||
return -1;
|
||||
|
||||
if (!extnb)
|
||||
return -1;
|
||||
return 1;
|
||||
|
||||
int ret = strcasecmp(extna, extnb);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue