summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.cc4
1 files 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<string>(0)) {
+ foreach (const char ch, args.value_at(0).to_string()) {
if (ch == '"')
out << "\\\"";
else