summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-01-22 20:08:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-01-22 20:08:10 +0100
commitda92889e88a89e48cbcce134b6afa7c504e7569e (patch)
tree9a3592740656f0491742e9b296f8cb539bf3ad8c /src/winwidget.c
parent92123b141236c680e00c3460b93de46edacfda0a (diff)
Add --zoom fill as equivalent to --auto-zoom
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 81f9ab6..8192700 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -426,7 +426,7 @@ void winwidget_render_image(winwidget winwid, int resize, int alias)
smaller = ((winwid->im_w < max_w)
&& (winwid->im_h < max_h));
- if (!smaller || opt.auto_zoom) {
+ if (!smaller || (opt.zoom_mode == ZOOM_MODE_FILL)) {
double ratio = 0.0;
/* Image is larger than the screen (so wants shrinking), or it's