mirror of https://github.com/jarun/nnn.git
Avoid redundant printw() call for order
This commit is contained in:
parent
9bad3c9399
commit
110a4eb108
|
@ -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…
Reference in New Issue