From 747332b0852eee6fc9087dfa253a87ed3431705e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 23 Aug 2005 19:31:37 +0000 Subject: [PATCH] *** empty log message *** --- qif.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qif.cc b/qif.cc index 49c55e23..afc8d70a 100644 --- a/qif.cc +++ b/qif.cc @@ -228,11 +228,15 @@ unsigned int qif_parser_t::parse(std::istream& in, count++; } + // reset things for the next entry entry.reset(new entry_t); xact = new transaction_t(master); entry->add_transaction(xact); - beg_line = 0; // reset for next entry + saw_splits = false; + saw_category = false; + total = NULL; + beg_line = 0; break; }