From fb8be53edb9d9fdd91fd906e9a4ce6c3e8e3adb3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 9 Nov 2009 01:24:44 -0500 Subject: Redesigned the format_t class --- src/precmd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/precmd.cc') 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; -- cgit v1.2.3