summaryrefslogtreecommitdiff
path: root/autoxact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'autoxact.cc')
-rw-r--r--autoxact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoxact.cc b/autoxact.cc
index 9672d4d2..165ebede 100644
--- a/autoxact.cc
+++ b/autoxact.cc
@@ -15,7 +15,7 @@ void automated_transaction_t::extend_entry(entry_t * entry)
t != transactions.end();
t++) {
amount_t amt;
- if ((*t)->amount.commodity->symbol.empty())
+ if ((*t)->amount.commodity().symbol.empty())
amt = (*i)->amount * (*t)->amount;
else
amt = (*t)->amount;