mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-05-14 Dave Peticolas <dave@krondo.com>
* src/engine/Account.c (xaccAccountGetChildren): fix bug git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4193 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e950994585
commit
ae1a33bb69
@ -1,5 +1,7 @@
|
|||||||
2001-05-14 Dave Peticolas <dave@krondo.com>
|
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
|
* src/engine/sixtp-dom-generators.c (add_kvp_value_node): use
|
||||||
xmlNewTextChild.
|
xmlNewTextChild.
|
||||||
|
|
||||||
|
@ -1296,7 +1296,7 @@ xaccAccountGetChildren (Account *acc)
|
|||||||
{
|
{
|
||||||
if (!acc) return NULL;
|
if (!acc) return NULL;
|
||||||
if (acc->children == NULL)
|
if (acc->children == NULL)
|
||||||
acc->children = xaccMallocAccountGroup ();
|
xaccAccountInsertSubAccount (acc, NULL);
|
||||||
return (acc->children);
|
return (acc->children);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user