From 8013e091292628b3e631fea07342c31f1c36966b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 29 Feb 2012 22:11:55 -0600 Subject: Added STR() utility function --- src/draft.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/draft.cc') diff --git a/src/draft.cc b/src/draft.cc index 2b8b45f7..9f9ec6e8 100644 --- a/src/draft.cc +++ b/src/draft.cc @@ -67,10 +67,8 @@ void draft_t::xact_template_t::dump(std::ostream& out) const << std::endl; } else { foreach (const post_template_t& post, posts) { - straccstream accum; out << std::endl - << ACCUM(accum << _("[Posting \"%1\"]") - << (post.from ? _("from") : _("to"))) + << STR(_("[Posting \"%1\"]") << (post.from ? _("from") : _("to"))) << std::endl; if (post.account_mask) -- cgit v1.2.3