Skip to content

Commit

Permalink
2001-05-14 Dave Peticolas <dave@krondo.com>
Browse files Browse the repository at this point in the history
	* src/engine/Account.c (xaccAccountGetChildren): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4193 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
jdavisp3 committed May 14, 2001
1 parent e950994 commit ae1a33b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,5 +1,7 @@
2001-05-14 Dave Peticolas <dave@krondo.com>

* src/engine/Account.c (xaccAccountGetChildren): fix bug

* src/engine/sixtp-dom-generators.c (add_kvp_value_node): use
xmlNewTextChild.

Expand Down
2 changes: 1 addition & 1 deletion src/engine/Account.c
Expand Up @@ -1296,7 +1296,7 @@ xaccAccountGetChildren (Account *acc)
{
if (!acc) return NULL;
if (acc->children == NULL)
acc->children = xaccMallocAccountGroup ();
xaccAccountInsertSubAccount (acc, NULL);
return (acc->children);
}

Expand Down

0 comments on commit ae1a33b

Please sign in to comment.