[qwaq] Quote the string value before display
This commit is contained in:
parent
6b9d4a747d
commit
154da7653d
|
@ -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 New Issue