summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/options.c b/src/options.c
index 6427597..586f626 100644
--- a/src/options.c
+++ b/src/options.c
@@ -524,7 +524,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.auto_zoom = 1;
break;
case 'U':
opt.loadables = 1;
@@ -694,12 +694,7 @@ static void feh_parse_option_array(int argc, char **argv)
opt.menu_style = estrdup(optarg);
break;
case 205:
- if (!strcmp("fill", optarg))
- opt.zoom_mode = ZOOM_MODE_FILL;
- else if (!strcmp("max", optarg))
- opt.zoom_mode = ZOOM_MODE_MAX;
- else
- opt.default_zoom = atoi(optarg);
+ opt.default_zoom = atoi(optarg);
break;
case 206:
opt.screen_clip = 0;