summaryrefslogtreecommitdiff
path: root/src/qif.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:24:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:38 -0400
commit06e7c2820242ea5130a63305836f822ccb409a92 (patch)
treed59d4ad1e85c0319cebe203858bf1924ffa1d205 /src/qif.cc
parent7868a53b70bd08b79007386dbb5b1590bfb2e457 (diff)
downloadfork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.gz
fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.bz2
fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.zip
Rearranged many method names.
Diffstat (limited to 'src/qif.cc')
-rw-r--r--src/qif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qif.cc b/src/qif.cc
index 677b907e..14ee7f65 100644
--- a/src/qif.cc
+++ b/src/qif.cc
@@ -110,7 +110,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
unsigned char prec = xact->amount->commodity().precision();
if (! def_commodity) {
- def_commodity = amount_t::default_pool->find_or_create("$");
+ def_commodity = amount_t::current_pool->find_or_create("$");
assert(def_commodity);
}
xact->amount->set_commodity(*def_commodity);