summaryrefslogtreecommitdiff
path: root/qif.cc
diff options
context:
space:
mode:
Diffstat (limited to 'qif.cc')
-rw-r--r--qif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/qif.cc b/qif.cc
index 4b5c0936..2a72196b 100644
--- a/qif.cc
+++ b/qif.cc
@@ -161,7 +161,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
case '^':
if (xact->account == master) {
if (! misc)
- misc = master->find_account("Miscellaneous");
+ misc = journal->find_account("Miscellaneous");
transaction_t * nxact = new transaction_t(misc);
entry->add_transaction(nxact);
nxact->amount = nxact->cost = - xact->amount;