diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-14 21:36:42 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-14 21:44:00 -0600 |
commit | f4f3058b8cd75c04080f9b68cb54b9584eafb39f (patch) | |
tree | eca9ca6ceca001209fb93c05b52e21031280d18c /src/format.cc | |
parent | 96172669053bbba7263a370f109f70615049a0c6 (diff) | |
download | fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.gz fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.bz2 fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.zip |
Switch to using Boost.Format
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); } } } |