diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-19 04:18:33 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-19 04:18:33 -0500 |
commit | aee05dc7b7099d4bff8827e293e6b1e3442b9cd9 (patch) | |
tree | e8d510ddf3e7fa3f533f9652e92cde55f339c366 /src/print.cc | |
parent | 9097bc8cd3a19d98e271dd683986e3fc455da123 (diff) | |
download | fork-ledger-aee05dc7b7099d4bff8827e293e6b1e3442b9cd9.tar.gz fork-ledger-aee05dc7b7099d4bff8827e293e6b1e3442b9cd9.tar.bz2 fork-ledger-aee05dc7b7099d4bff8827e293e6b1e3442b9cd9.zip |
print computed annotations if --generated
Diffstat (limited to 'src/print.cc')
-rw-r--r-- | src/print.cc | 3 |
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(); } |