From f4f3058b8cd75c04080f9b68cb54b9584eafb39f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 May 2012 21:36:42 -0600 Subject: Switch to using Boost.Format --- src/format.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/format.cc') diff --git a/src/format.cc b/src/format.cc index 8c3cbc14..18c7696d 100644 --- a/src/format.cc +++ b/src/format.cc @@ -236,7 +236,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt, } } if (! found) - throw_(format_error, _("Unrecognized formatting character: %1") << *p); + throw_(format_error, _f("Unrecognized formatting character: %1%") % *p); } else { switch (*p) { case '%': @@ -375,7 +375,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt, } default: - throw_(format_error, _("Unrecognized formatting character: %1") << *p); + throw_(format_error, _f("Unrecognized formatting character: %1%") % *p); } } } -- cgit v1.2.3