diff options
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index 480fe4e..26a43e2 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -387,6 +387,8 @@ void winwidget_render_image(winwidget winwid, int resize, int alias) D(("scaling down image %dx%d\n", winwid->w, winwid->h)); feh_calc_needed_zoom(&(winwid->zoom), winwid->im_w, winwid->im_h, winwid->w, winwid->h); + if (resize) + winwidget_resize(winwid, winwid->im_w * winwid->zoom, winwid->im_h * winwid->zoom); D(("after scaling down image %dx%d\n", winwid->w, winwid->h)); } |