aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 08327a2..b655739 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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);