diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-27 19:01:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-27 19:01:55 -0400 |
commit | aae134f69275e4f71ec70d893cdfd0b5839fef8e (patch) | |
tree | 57413e98e1adafe38315a7397b24ca350690c853 /src/balance.cc | |
parent | cbf8f355d16224bc119e2d41a22a1d0b9d7bf0ff (diff) | |
download | fork-ledger-aae134f69275e4f71ec70d893cdfd0b5839fef8e.tar.gz fork-ledger-aae134f69275e4f71ec70d893cdfd0b5839fef8e.tar.bz2 fork-ledger-aae134f69275e4f71ec70d893cdfd0b5839fef8e.zip |
Fixed a display issue with the balance report
Diffstat (limited to 'src/balance.cc')
-rw-r--r-- | src/balance.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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; } } |