summaryrefslogtreecommitdiff
path: root/src/xmlparse.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/xmlparse.cc
parent7868a53b70bd08b79007386dbb5b1590bfb2e457 (diff)
downloadledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.gz
ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.bz2
ledger-06e7c2820242ea5130a63305836f822ccb409a92.zip
Rearranged many method names.
Diffstat (limited to 'src/xmlparse.cc')
-rw-r--r--src/xmlparse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlparse.cc b/src/xmlparse.cc
index c54e5969..48a307a0 100644
--- a/src/xmlparse.cc
+++ b/src/xmlparse.cc
@@ -104,7 +104,7 @@ static void endElement(void *userData, const char *name)
}
else if (std::strcmp(name, "symbol") == 0) {
assert(! curr_comm);
- curr_comm = amount_t::default_pool->find_or_create(data);
+ curr_comm = amount_t::current_pool->find_or_create(data);
assert(curr_comm);
curr_comm->add_flags(COMMODITY_STYLE_SUFFIXED);
if (! comm_flags.empty()) {