From 2d62f7b633bdaa39c650bb67425514cf1e66a4dd Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 29 Aug 2004 04:31:59 -0400 Subject: redid the way amount_t::commodity is handled; no more direct access --- autoxact.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoxact.cc') 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; -- cgit v1.2.3