diff options
author | John Wiegley <johnw@newartisans.com> | 2010-03-05 22:13:11 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-03-05 22:14:14 -0500 |
commit | b90ce7890647c3f7cfb1103222df011a4534a1c9 (patch) | |
tree | 3965e87a009e77574c7299e8bfea3644507b0d9d /src | |
parent | fe95280492a35fb2e8ee8d43f63754defc3b56e7 (diff) | |
download | fork-ledger-b90ce7890647c3f7cfb1103222df011a4534a1c9.tar.gz fork-ledger-b90ce7890647c3f7cfb1103222df011a4534a1c9.tar.bz2 fork-ledger-b90ce7890647c3f7cfb1103222df011a4534a1c9.zip |
Fixed a problem with the "quoted" valexpr function
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 4 |
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 |