summaryrefslogtreecommitdiff
path: root/autoxact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-29 04:31:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-29 04:31:59 -0400
commit2d62f7b633bdaa39c650bb67425514cf1e66a4dd (patch)
treeffe42356e5e83f2cbc2cce74a8566ea1ac738e8b /autoxact.cc
parent032afa5657bd600476cde256b6d7db84fde7d038 (diff)
downloadfork-ledger-2d62f7b633bdaa39c650bb67425514cf1e66a4dd.tar.gz
fork-ledger-2d62f7b633bdaa39c650bb67425514cf1e66a4dd.tar.bz2
fork-ledger-2d62f7b633bdaa39c650bb67425514cf1e66a4dd.zip
redid the way amount_t::commodity is handled; no more direct access
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;