From b6a4485f5f9addc976e0253d9c953ec6fd6c9052 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 2 Mar 2011 17:25:46 +0100 Subject: Switch --zoom max/fill to make them work like --bg-max/-fill (closes GH-8) --- src/winwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/winwidget.c') 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) -- cgit v1.2.3