From 8a70bbed521662e76c1b3c42460743bb891c2deb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 13 Aug 2004 04:39:50 -0400 Subject: fix to gnucash support --- gnucash.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnucash.cc b/gnucash.cc index aedffbe5..011889fd 100644 --- a/gnucash.cc +++ b/gnucash.cc @@ -85,8 +85,7 @@ static void startElement(void *userData, const char *name, const char **atts) action = ENTRY_DESC; else if (std::strcmp(name, "trn:split") == 0) { assert(curr_entry); - curr_entry->add_transaction(new transaction_t(curr_entry, curr_account, - amount_t())); + curr_entry->add_transaction(new transaction_t(curr_entry, curr_account)); } else if (std::strcmp(name, "split:reconciled-state") == 0) action = XACT_STATE; -- cgit v1.2.3