summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/print.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/print.cc b/src/print.cc
index 9e52ce95..79d83161 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -226,7 +226,8 @@ namespace {
std::ostringstream amt_str;
value_t(post->amount).print(amt_str, static_cast<int>(amount_width),
-1, AMOUNT_PRINT_RIGHT_JUSTIFY |
- AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS);
+ (report.HANDLED(generated) ? 0 :
+ AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS));
amt = amt_str.str();
}