From dc03c646eb65f50210e06c48d30f6b24f05c5f1c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 3 Mar 2011 23:47:11 -0500 Subject: Corrections to the regression tests --- src/textual.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index a1e5d50b..26de6f9e 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1150,7 +1150,7 @@ post_t * instance_t::parse_post(char * line, if (context.strict && ! post->account->has_flags(ACCOUNT_KNOWN)) { if (post->_state == item_t::UNCLEARED) warning_(_("\"%1\", line %2: Unknown account '%3'") - << pathname << linenum << post->account->fullname()); + << pathname.string() << linenum << post->account->fullname()); post->account->add_flags(ACCOUNT_KNOWN); } @@ -1185,7 +1185,7 @@ post_t * instance_t::parse_post(char * line, ! post->amount.commodity().has_flags(COMMODITY_KNOWN)) { if (post->_state == item_t::UNCLEARED) warning_(_("\"%1\", line %2: Unknown commodity '%3'") - << pathname << linenum << post->amount.commodity()); + << pathname.string() << linenum << post->amount.commodity()); post->amount.commodity().add_flags(COMMODITY_KNOWN); } -- cgit v1.2.3