summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
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;