diff options
author | John Wiegley <johnw@newartisans.com> | 2012-11-06 12:49:09 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-11-06 12:49:09 -0800 |
commit | 3a766aa7c5e58f65833966b4ca1a1d261b647b1b (patch) | |
tree | 245130564aa228c57d6b135154cdca7b15c45ee2 /src/filters.cc | |
parent | ab887ad7d7e9ebaa1f874862b1649329a7019cd1 (diff) | |
parent | a6d40ada1f33ebce5ed55ddd2d54a187a1f70c59 (diff) | |
download | fork-ledger-3a766aa7c5e58f65833966b4ca1a1d261b647b1b.tar.gz fork-ledger-3a766aa7c5e58f65833966b4ca1a1d261b647b1b.tar.bz2 fork-ledger-3a766aa7c5e58f65833966b4ca1a1d261b647b1b.zip |
Merge pull request #104 from csrhodes/next
justification
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/filters.cc b/src/filters.cc index f5694133..5e2bf983 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -530,9 +530,11 @@ bool display_filter_posts::output_rounding(post_t& post) } // Allow the posting to be displayed if: - // 1. It's display_amount would display as non-zero - // 2. The --empty option was specified - // 3. The account of the posting is <Revalued> + // 1. Its display_amount would display as non-zero, or + // 2. The --empty option was specified, or + // 3. a) The account of the posting is <Revalued>, and + // b) the revalued option is specified, and + // c) the --no-rounding option is not specified. if (post.account == revalued_account) { if (show_rounding) |