diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-02-27 20:05:37 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-02-27 20:05:37 +0000 |
commit | 4a2ce2e9ee9453eb429628490b3729d26ba9143f (patch) | |
tree | 73868e7be014be0793317e31b8961936e6355911 | |
parent | cd0684a2cbd4e68a51ef595c32c0faf1bf1ac41a (diff) | |
download | imv-4a2ce2e9ee9453eb429628490b3729d26ba9143f.tar.gz |
Fix copy-paste error in resizing mode parsing
-rw-r--r-- | src/imv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |