diff options
-rw-r--r-- | src/options.c | 2 | ||||
-rw-r--r-- | src/winwidget.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index 578598a..8d54360 100644 --- a/src/options.c +++ b/src/options.c @@ -517,7 +517,7 @@ static void feh_parse_option_array(int argc, char **argv) opt.full_screen = 1; break; case 'Z': - opt.zoom_mode = ZOOM_MODE_FILL; + opt.zoom_mode = ZOOM_MODE_MAX; break; case 'U': opt.loadables = 1; 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) |