From 4a2ce2e9ee9453eb429628490b3729d26ba9143f Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Wed, 27 Feb 2019 20:05:37 +0000 Subject: Fix copy-paste error in resizing mode parsing --- src/imv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imv.c b/src/imv.c index 29e3a20..24054da 100644 --- a/src/imv.c +++ b/src/imv.c @@ -569,17 +569,17 @@ static bool parse_upscaling_method(struct imv *imv, const char *method) static bool parse_resizing_mode(struct imv *imv, const char *method) { if (!strcmp(method, "none")) { - imv->upscaling_method = RESIZE_NONE; + imv->resize_mode = RESIZE_NONE; return true; } if (!strcmp(method, "resize")) { - imv->upscaling_method = RESIZE_ONLY; + imv->resize_mode = RESIZE_ONLY; return true; } if (!strcmp(method, "recenter")) { - imv->upscaling_method = RESIZE_CENTER; + imv->resize_mode = RESIZE_CENTER; return true; } -- cgit v1.2.3