summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index 71c6e0fe..cb45660e 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1263,6 +1263,9 @@ void value_t::print(std::ostream& out,
const int latter_width,
const optional<string>& date_format) const
{
+ if (first_width > 0 && ! is_amount() && ! is_balance())
+ out.width(first_width);
+
switch (type()) {
case VOID:
out << "";