Browse Source

Avoid redundant printw() call for order

master
Arun Prakash Jana 4 years ago
parent
commit
110a4eb108
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/nnn.c

+ 2
- 3
src/nnn.c View File

@@ -5188,9 +5188,8 @@ static void statusbar(char *path)
} else { /* light or detail mode */
char sort[] = "\0\0\0\0\0";

getorderstr(sort);

printw("%s", sort);
if (getorderstr(sort))
printw("%s", sort);

/* Timestamp */
print_time(&pent->t);


Loading…
Cancel
Save