diff options
Diffstat (limited to 'reconcile.cc')
-rw-r--r-- | reconcile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reconcile.cc b/reconcile.cc index 07e2125d..b28718ee 100644 --- a/reconcile.cc +++ b/reconcile.cc @@ -44,7 +44,7 @@ void reconcile_transactions::flush() for (transactions_list::iterator x = xacts.begin(); x != xacts.end(); x++) { - if (! cutoff || std::difftime((*x)->entry->date, cutoff) < 0) { + if (! cutoff || std::difftime((*x)->date(), cutoff) < 0) { switch ((*x)->state) { case transaction_t::CLEARED: cleared_balance += (*x)->amount; |