summaryrefslogtreecommitdiff
path: root/src/balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.cc')
-rw-r--r--src/balance.cc6
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;
}
}