summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/imlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 28ae018..fc7fb16 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -543,6 +543,9 @@ void feh_draw_info(winwidget w)
pclose(info_pipe);
}
+ if (no_lines == 0)
+ return;
+
height *= no_lines;
width += 4;