[qwaq] Quote the string value before display

This commit is contained in:
Bill Currie 2020-04-01 21:29:42 +09:00
parent 6b9d4a747d
commit 154da7653d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}