diff options
author | John Wiegley <johnw@newartisans.com> | 2004-04-10 12:25:17 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-04-10 12:25:17 +0000 |
commit | 31dafc3c163e4ceae42b1477c4eaeb4425b2b883 (patch) | |
tree | 6563c3fd122ed9ffb48dfb2ed14c5b5e4944f5e6 /reports.cc | |
parent | 9ffdff9510bd9fc2ac4a8efe8f6b94bde794fda1 (diff) | |
download | fork-ledger-31dafc3c163e4ceae42b1477c4eaeb4425b2b883.tar.gz fork-ledger-31dafc3c163e4ceae42b1477c4eaeb4425b2b883.tar.bz2 fork-ledger-31dafc3c163e4ceae42b1477c4eaeb4425b2b883.zip |
*** empty log message ***
Diffstat (limited to 'reports.cc')
-rw-r--r-- | reports.cc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -201,8 +201,7 @@ void print_register(const std::string& acct_name, std::ostream& out, for (entries_list_iterator i = main_ledger->entries.begin(); i != main_ledger->entries.end(); i++) { - if ((! have_beginning && ! have_ending && ! have_date_mask && - ! (cleared_only ? (*i)->cleared : ! (*i)->cleared)) || + if ((cleared_only && ! (*i)->cleared) || ! matches_date_range(*i) || ! (*i)->matches(regexps)) continue; |