summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-03-02 17:25:46 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-03-02 17:28:36 +0100
commitb6a4485f5f9addc976e0253d9c953ec6fd6c9052 (patch)
tree6a9d82378e1c02fd9382c8f0fce7f3b9ce1fd157 /src/winwidget.c
parent29c85fd4feb8a2d0b853bd130de936b24da0f8f1 (diff)
Switch --zoom max/fill to make them work like --bg-max/-fill (closes GH-8)
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 e918cd3..426fd74 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -580,7 +580,7 @@ double feh_calc_needed_zoom(double *zoom, int orig_w, int orig_h, int dest_w, in
ratio = ((double) orig_w / orig_h) / ((double) dest_w / dest_h);
- if (opt.zoom_mode == ZOOM_MODE_MAX)
+ if (opt.zoom_mode == ZOOM_MODE_FILL)
ratio = 1.0 / ratio;
if (ratio > 1.0)