diff options
| author | 2020-08-02 00:54:07 +0530 | |
|---|---|---|
| committer | 2020-08-02 00:54:07 +0530 | |
| commit | 110a4eb108586fb1e2c3e05e17bd0e9f5fbf9b42 (patch) | |
| tree | 8b3e6096537bcaed05946d0bdc20983fea81aa62 /src | |
| parent | 9bad3c93999644678d6f474d20e9065a67f4ab85 (diff) | |
| download | nnn-110a4eb108586fb1e2c3e05e17bd0e9f5fbf9b42.tar.gz | |
Avoid redundant printw() call for order
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 5 |
1 files changed, 2 insertions, 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); |