diff options
author | John Wiegley <johnw@newartisans.com> | 2003-09-30 23:17:18 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2003-09-30 23:17:18 +0000 |
commit | abe98b8f8932038f9dcd671014a5d51a8b0fa0b8 (patch) | |
tree | 2cc61a019fa066d4eeda4a8116c5b146ed2fc9c2 /amount.cc | |
parent | 487ea6a2171ec70b8ee0ff147a44abb6d89679dc (diff) | |
download | fork-ledger-abe98b8f8932038f9dcd671014a5d51a8b0fa0b8.tar.gz fork-ledger-abe98b8f8932038f9dcd671014a5d51a8b0fa0b8.tar.bz2 fork-ledger-abe98b8f8932038f9dcd671014a5d51a8b0fa0b8.zip |
*** empty log message ***
Diffstat (limited to 'amount.cc')
-rw-r--r-- | amount.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |