From abe98b8f8932038f9dcd671014a5d51a8b0fa0b8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 30 Sep 2003 23:17:18 +0000 Subject: *** empty log message *** --- amount.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amount.cc') diff --git a/amount.cc b/amount.cc index 16575046..2d8271be 100644 --- a/amount.cc +++ b/amount.cc @@ -477,8 +477,8 @@ static commodity * parse_amount(mpz_t out, const char * num, commodity * comm = NULL; if (saw_commodity) { - commodities_iterator item = commodities.find(symbol.c_str()); - if (item == commodities.end()) { + commodities_iterator item = main_ledger.commodities.find(symbol.c_str()); + if (item == main_ledger.commodities.end()) { comm = new commodity(symbol, prefix, separate, thousands, european, precision); } else { -- cgit v1.2.3