]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
vtos should use the same quotes as we use in qc source
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 23 Aug 2012 08:18:59 +0000 (10:18 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 23 Aug 2012 08:18:59 +0000 (10:18 +0200)
exec.c

diff --git a/exec.c b/exec.c
index dc93a38dfae0ef04ec442cd683e6d920696f80ec..53bcb07de387de9b48a72aa2ca7c4c9d6c9831ab 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -702,7 +702,7 @@ static int qc_vtos(qc_program *prog)
     qcany str;
     CheckArgs(1);
     num = GetArg(0);
-    snprintf(buffer, sizeof(buffer), "`%g %g %g`", num->vector[0], num->vector[1], num->vector[2]);
+    snprintf(buffer, sizeof(buffer), "'%g %g %g'", num->vector[0], num->vector[1], num->vector[2]);
     str.string = prog_tempstring(prog, buffer);
     Return(str);
     return 0;