]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
Merge branch 'master' into test-suite
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index 990acf2c1b51565ba2fe1fe3a9deb8edceb23e2b..4c8062d7dcdb1b125101c77348c26952c9ac592c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -226,6 +226,8 @@ static bool options_parse(int argc, char **argv) {
             if (options_long_gcc("redirerr", &argc, &argv, &redirerr)) {
                 continue;
             }
+            
+            con_change(redirout, redirerr);
 
             if (!strcmp(argv[0]+1, "debug")) {
                 opts_debug = true;
@@ -383,7 +385,6 @@ static bool options_parse(int argc, char **argv) {
             vec_push(items, item);
         }
     }
-    con_change(redirout, redirerr);
     return true;
 }