summaryrefslogtreecommitdiff
path: root/reconcile.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-10-19 22:42:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:19 -0400
commiteb0525e3157b579d45aab568e3ee06432fbaa338 (patch)
tree308ada59d939b363afd3791ef5f26406cedcebe1 /reconcile.cc
parenta53f44ecdaf9051c9e7f64993787c88d98b5348a (diff)
downloadfork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.tar.gz
fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.tar.bz2
fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.zip
See ChangeLog
Diffstat (limited to 'reconcile.cc')
-rw-r--r--reconcile.cc2
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;