summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/imlib.c b/src/imlib.c
index fc7fb16..443246d 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -730,6 +730,13 @@ void feh_display_status(char stat)
D(("filelist %p, filelist->next %p\n", filelist, filelist->next));
+ if (!stat) {
+ putc('\n', stdout);
+ init_len = 0;
+ i = 0;
+ return;
+ }
+
if (!init_len)
init_len = gib_list_length(filelist);