summaryrefslogtreecommitdiff
path: root/src/gnucash.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-10 00:57:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-10 00:57:29 -0400
commitc9d575abceb672d1c23383d973adee40daeecda8 (patch)
treedea80d45787359712e582cc7bf5d700a4419ec30 /src/gnucash.cc
parent65510c9a9f0d588a8d0285072dfc2e2a153e5253 (diff)
downloadfork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.tar.gz
fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.tar.bz2
fork-ledger-c9d575abceb672d1c23383d973adee40daeecda8.zip
Basic balance reports are working again!
Diffstat (limited to 'src/gnucash.cc')
-rw-r--r--src/gnucash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnucash.cc b/src/gnucash.cc
index 5a171ace..6b9b5211 100644
--- a/src/gnucash.cc
+++ b/src/gnucash.cc
@@ -89,7 +89,7 @@ static enum action_t {
static void startElement(void *, const char *name, const char **)
{
if (std::strcmp(name, "gnc:account") == 0) {
- curr_account = new account_t(master_account);
+ curr_account = new account_t(master_account->owner, master_account);
}
else if (std::strcmp(name, "act:name") == 0)
action = ACCOUNT_NAME;