]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
-ftrue-empty-strings now changes type_not_instr[TYPE_STRING] to INSTR_NOT_F
authorWolfgang Bumiller <blub@speed.at>
Thu, 20 Dec 2012 18:32:57 +0000 (19:32 +0100)
committerWolfgang Bumiller <blub@speed.at>
Thu, 20 Dec 2012 18:32:57 +0000 (19:32 +0100)
main.c

diff --git a/main.c b/main.c
index 8394df45ec3c3192d9f573b56a7cedd79a2b202a..aaa61c31c0d2e8dfde2785465fa9318e2df52342 100644 (file)
--- a/main.c
+++ b/main.c
@@ -582,6 +582,9 @@ int main(int argc, char **argv) {
         }
     }
 
+    if (OPTS_FLAG(TRUE_EMPTY_STRINGS))
+        type_not_instr[TYPE_STRING] = INSTR_NOT_F;
+
     util_debug("COM", "starting ...\n");
 
     /* add macros */