mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +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 */
|
} else { /* light or detail mode */
|
||||||
char sort[] = "\0\0\0\0\0";
|
char sort[] = "\0\0\0\0\0";
|
||||||
|
|
||||||
getorderstr(sort);
|
if (getorderstr(sort))
|
||||||
|
printw("%s", sort);
|
||||||
printw("%s", sort);
|
|
||||||
|
|
||||||
/* Timestamp */
|
/* Timestamp */
|
||||||
print_time(&pent->t);
|
print_time(&pent->t);
|
||||||
|
|
Loading…
Add table
Reference in a new issue