summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-01-26 19:28:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-01-26 19:28:10 +0100
commit05f20c748e731f0ca79e6c3646c399940fe06578 (patch)
tree49d853b9aec891816c42fb24484822ab134a86b0 /src/winwidget.c
parent0d4a5ee84a933e6652912dfd4228fc6f30c7ad5f (diff)
Revert "Add --zoom fill as equivalent to --auto-zoom"
This reverts commit da92889e88a89e48cbcce134b6afa7c504e7569e.
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 8192700..81f9ab6 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.zoom_mode == ZOOM_MODE_FILL)) {
+ if (!smaller || opt.auto_zoom) {
double ratio = 0.0;
/* Image is larger than the screen (so wants shrinking), or it's