add ticks around vector strings created by vtos

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-22 15:04:37 +02:00
parent 9433f66a00
commit 9284c41d0a

2
exec.c
View file

@ -668,7 +668,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;