]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
unnamed globals in the trace output use [@addr] now instead of [#addr] since # is...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 11 Aug 2012 09:46:44 +0000 (11:46 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 11 Aug 2012 09:46:44 +0000 (11:46 +0200)
exec.c

diff --git a/exec.c b/exec.c
index 613f606540cb02733927a8c38a597b3678da078d..c65c6e2d2edfb590754eaf515f6ec3c06308ec2d 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -255,7 +255,7 @@ static void trace_print_global(qc_program *prog, unsigned int glob, int vtype)
         vtype = def->type;
     }
     else
-        len = printf("[#%u] ", glob);
+        len = printf("[@%u] ", glob);
 
     switch (vtype) {
         case TYPE_VOID: