From 31dafc3c163e4ceae42b1477c4eaeb4425b2b883 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 10 Apr 2004 12:25:17 +0000 Subject: *** empty log message *** --- reports.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'reports.cc') diff --git a/reports.cc b/reports.cc index 44dfcd74..6ec5c298 100644 --- a/reports.cc +++ b/reports.cc @@ -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; -- cgit v1.2.3