summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2019-01-17 18:41:50 +0100
committerTommi Komulainen <tommi.komulainen@iki.fi>2019-01-17 18:45:23 +0100
commitb19b1115e6b60338d025c660c8a1f05c1ef1e644 (patch)
tree81ea07d210de4c001f80731be1a153e1ca6dc99c /src/draft.cc
parent5682f377aed5b0db6b6c4a44b1d8868103b7e9f7 (diff)
downloadfork-ledger-b19b1115e6b60338d025c660c8a1f05c1ef1e644.tar.gz
fork-ledger-b19b1115e6b60338d025c660c8a1f05c1ef1e644.tar.bz2
fork-ledger-b19b1115e6b60338d025c660c8a1f05c1ef1e644.zip
Fix some boost format strings
Fixes: Error: boost::bad_format_string: format-string is ill-formed
Diffstat (limited to 'src/draft.cc')
-rw-r--r--src/draft.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draft.cc b/src/draft.cc
index 424b7a9a..12d7faf7 100644
--- a/src/draft.cc
+++ b/src/draft.cc
@@ -68,7 +68,7 @@ void draft_t::xact_template_t::dump(std::ostream& out) const
} else {
foreach (const post_template_t& post, posts) {
out << std::endl
- << _f("[Posting \"%1\"]") % (post.from ? _("from") : _("to"))
+ << _f("[Posting \"%1%\"]") % (post.from ? _("from") : _("to"))
<< std::endl;
if (post.account_mask)