]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - test.c
Work in progress options cleanup.
[xonotic/gmqcc.git] / test.c
diff --git a/test.c b/test.c
index eed80ef88186cfb820e9ca8baef389dc42827021..c33b4ac38d8a80f0de156b9ff1d7620592154583 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1242,11 +1242,11 @@ int main(int argc, char **argv) {
             con_change(redirout, redirerr);
 
             if (!strcmp(argv[0]+1, "debug")) {
-                opts.debug = true;
+                OPTION_VALUE_BOOL(OPTION_DEBUG) = true;
                 continue;
             }
             if (!strcmp(argv[0]+1, "memchk")) {
-                opts.memchk = true;
+                OPTION_VALUE_BOOL(OPTION_MEMCHK) = true;
                 continue;
             }
             if (!strcmp(argv[0]+1, "nocolor")) {