diff options
Diffstat (limited to 'src/format.cc')
-rw-r--r-- | src/format.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |