aboutsummaryrefslogtreecommitdiff
path: root/src/imv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/imv.c')
-rw-r--r--src/imv.c6
1 files 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;
}