summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-09 01:24:44 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-09 02:06:08 -0500
commitfb8be53edb9d9fdd91fd906e9a4ce6c3e8e3adb3 (patch)
treee1e41cd4e926ad108743f29158b4ef8e451b90f5 /src/precmd.cc
parentc3535d06c89732a0ba4c13274702b0f48198ae79 (diff)
downloadfork-ledger-fb8be53edb9d9fdd91fd906e9a4ce6c3e8e3adb3.tar.gz
fork-ledger-fb8be53edb9d9fdd91fd906e9a4ce6c3e8e3adb3.tar.bz2
fork-ledger-fb8be53edb9d9fdd91fd906e9a4ce6c3e8e3adb3.zip
Redesigned the format_t class
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index 277e7b89..92483dc8 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -148,7 +148,7 @@ value_t format_command(call_scope_t& args)
out << std::endl << _("--- Formatted string ---") << std::endl;
bind_scope_t bound_scope(args, *post);
out << '"';
- fmt.format(out, bound_scope);
+ out << fmt(bound_scope);
out << "\"\n";
return NULL_VALUE;