X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=exec.c;h=2957d4c5bf315431353a5d6d7d9c8aaa7528adbc;hb=dae1291b37b771697aed139375f6597f1944d55a;hp=9ba00200ffa78a341feb3dfadf450648cf9727a4;hpb=47f7611ec95ca623591a08fd05baccaff2f2ff4a;p=xonotic%2Fgmqcc.git diff --git a/exec.c b/exec.c index 9ba0020..2957d4c 100644 --- a/exec.c +++ b/exec.c @@ -359,7 +359,7 @@ static void trace_print_global(qc_program *prog, unsigned int glob, int vtype) done: if (len < (int)sizeof(spaces)-1) { spaces[sizeof(spaces)-1-len] = 0; - printf(spaces); + file_puts(stdout, spaces); spaces[sizeof(spaces)-1-len] = ' '; } } @@ -912,6 +912,8 @@ int main(int argc, char **argv) } else if (!strcmp(argv[1], "-v")) { ++opts_v; + --argc; + ++argv; } else if (!strncmp(argv[1], "-vv", 3)) { const char *av = argv[1]+1;