Avoid redundant printw() call for order

This commit is contained in:
Arun Prakash Jana 2020-08-02 00:54:07 +05:30
parent 9bad3c9399
commit 110a4eb108
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -5188,8 +5188,7 @@ static void statusbar(char *path)
} else { /* light or detail mode */
char sort[] = "\0\0\0\0\0";
getorderstr(sort);
if (getorderstr(sort))
printw("%s", sort);
/* Timestamp */