mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qwaq] Quote the string value before display
This commit is contained in:
parent
6b9d4a747d
commit
154da7653d
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@
|
|||
-draw
|
||||
{
|
||||
[super draw];
|
||||
string val = sprintf ("FIXME %s", qdb_get_string (target, data[0]));// quote string
|
||||
string val = sprintf ("\"%s\"",
|
||||
str_quote (qdb_get_string (target, data[0])));
|
||||
[self mvprintf:{0, 0}, "%*.*s", xlen, xlen, val];
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue