From aae134f69275e4f71ec70d893cdfd0b5839fef8e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 27 Oct 2009 19:01:55 -0400 Subject: Fixed a display issue with the balance report --- src/balance.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/balance.cc') diff --git a/src/balance.cc b/src/balance.cc index 274f860a..86352fa2 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -290,7 +290,11 @@ void balance_t::print(std::ostream& out, if (first) { out.width(first_width); - out << (right_justify ? std::right : std::left) << 0; + if (right_justify) + out << std::right; + else + out << std::left; + out << 0; } } -- cgit v1.2.3