summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-16 18:06:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-16 18:06:30 -0400
commit053ecc9366e9b7875ccb10edbff0b8c357cb0c38 (patch)
tree4e49acc4c7c33a95abe90ad1a2d354f75cda84cc /src/xact.cc
parent2a79d2d3bd4ccdb7fdc75cc22ee970b61adfcf6a (diff)
downloadfork-ledger-053ecc9366e9b7875ccb10edbff0b8c357cb0c38.tar.gz
fork-ledger-053ecc9366e9b7875ccb10edbff0b8c357cb0c38.tar.bz2
fork-ledger-053ecc9366e9b7875ccb10edbff0b8c357cb0c38.zip
Fixed a possible problem with xact_t::date()
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 883c320d..1f5d4f47 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -85,7 +85,7 @@ date_t xact_t::date() const
if (! _date) {
assert(entry);
- return *entry->_date;
+ return entry->date();
}
return *_date;
}