summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index 937e8a2..6280f46 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -382,7 +382,7 @@ void winwidget_render_image(winwidget winwid, int resize, int alias)
if (resize && (winwid->full_screen || opt.geom_flags)) {
int smaller; /* Is the image smaller than screen? */
- int max_w, max_h;
+ int max_w = 0, max_h = 0;
if (winwid->full_screen) {
max_w = scr->width;