summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-19 22:17:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-19 22:17:05 -0400
commit3934d558e120f15f481daf4083b1e91918fb7495 (patch)
tree3964912a24effd5aba36b68e004d432e8c22acc4
parent4d4b6e64ab665d870813ac5c8bd0f625ce093bdc (diff)
downloadfork-ledger-3934d558e120f15f481daf4083b1e91918fb7495.tar.gz
fork-ledger-3934d558e120f15f481daf4083b1e91918fb7495.tar.bz2
fork-ledger-3934d558e120f15f481daf4083b1e91918fb7495.zip
quick fix
-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;