Quote the result of a string expression function in the log
This commit is contained in:
parent
2e1fd1f289
commit
65d57bfd2e
|
@ -29,7 +29,8 @@ bool cbBadCmd(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
if(evalue.isString)
|
if(evalue.isString)
|
||||||
{
|
{
|
||||||
dputs_untranslated(StringUtils::Escape(evalue.data).c_str());
|
varset("$ans", evalue.data.c_str(), true);
|
||||||
|
dprintf_untranslated("\"%s\"\n", StringUtils::Escape(evalue.data).c_str());
|
||||||
}
|
}
|
||||||
else if(evalue.DoEvaluate(value, silent, baseonly, &valsize, &isvar, &hexonly))
|
else if(evalue.DoEvaluate(value, silent, baseonly, &valsize, &isvar, &hexonly))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue