aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-09-10 15:30:40 +0200
committerNRK <nrk@disroot.org>2022-09-10 15:43:14 +0200
commite356add07c6246b8a27a5d193e2e89da4afee6ad (patch)
treeeff8e115ac3cdc079c3ce00b2e1fc95e0f8832c2 /options.c
parent88a480c9388d698f123bf892f33197d7bd1cfb9b (diff)
downloadnsxiv-e356add07c6246b8a27a5d193e2e89da4afee6ad.tar.zst
rename: aa -> anti_alias
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index bf9bb99..3999e98 100644
--- a/options.c
+++ b/options.c
@@ -113,7 +113,7 @@ void parse_options(int argc, char **argv)
_options.scalemode = SCALE_DOWN;
_options.zoom = 1.0;
- _options.aa = ANTI_ALIAS;
+ _options.anti_alias = ANTI_ALIAS;
_options.animate = false;
_options.gamma = 0;
_options.slideshow = 0;
@@ -244,7 +244,7 @@ void parse_options(int argc, char **argv)
case OPT_AA:
if (op.optarg != NULL && !STREQ(op.optarg, "no"))
error(EXIT_FAILURE, 0, "Invalid argument for option --anti-alias: %s", op.optarg);
- _options.aa = op.optarg == NULL;
+ _options.anti_alias = op.optarg == NULL;
break;
}
}