summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-04-16 18:36:07 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-04-16 18:36:07 +0200
commit194755b8e75cfebe309dbf8a151b8fe9bbdaca2f (patch)
tree8869b463666d09289fa25679ce41051777c795f4 /src
parentfb57df086a073d4e677760639f1ac90478dbc8d6 (diff)
bugfix and version bump (closes #230)2.15.2
Diffstat (limited to 'src')
-rw-r--r--src/winwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index 3641eb9..7b178b6 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -519,7 +519,7 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias)
}
}
else if (need_center && !winwid->full_screen
- && (winwid->type != WIN_TYPE_THUMBNAIL)) {
+ && (winwid->type != WIN_TYPE_THUMBNAIL) && !opt.keep_zoom_vp) {
winwid->im_x = (int) (winwid->w - (winwid->im_w * winwid->zoom)) >> 1;
winwid->im_y = (int) (winwid->h - (winwid->im_h * winwid->zoom)) >> 1;
}