mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Avoid redundant printw() call for order
This commit is contained in:
parent
9bad3c9399
commit
110a4eb108
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue