diff options
Diffstat (limited to 'gnucash.cc')
-rw-r--r-- | gnucash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ static void startElement(void *userData, const char *name, const char **atts) action = COMM_PREC; else if (std::strcmp(name, "gnc:transaction") == 0) { assert(! curr_entry); - curr_entry = new entry; + curr_entry = new entry(main_ledger); } else if (std::strcmp(name, "trn:num") == 0) action = ENTRY_NUM; |