From b90ce7890647c3f7cfb1103222df011a4534a1c9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 5 Mar 2010 22:13:11 -0500 Subject: [PATCH] Fixed a problem with the "quoted" valexpr function --- src/report.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/report.cc b/src/report.cc index d3e24379..e6aa3ec8 100644 --- a/src/report.cc +++ b/src/report.cc @@ -470,11 +470,11 @@ value_t report_t::fn_justify(call_scope_t& scope) value_t report_t::fn_quoted(call_scope_t& scope) { - interactive_t args(scope, "s"); + interactive_t args(scope, "v"); std::ostringstream out; out << '"'; - foreach (const char ch, args.get(0)) { + foreach (const char ch, args.value_at(0).to_string()) { if (ch == '"') out << "\\\""; else