mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
buglet fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6426 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a83bda50a9
commit
71b50e0dc1
@ -60,7 +60,8 @@ write_account_group(FILE *out, AccountGroup *grp)
|
||||
|
||||
list = xaccGroupGetAccountList(grp);
|
||||
|
||||
for (node = list; node; node = node->next) {
|
||||
for (node = list; node; node = node->next)
|
||||
{
|
||||
xmlNodePtr accnode;
|
||||
AccountGroup *newgrp;
|
||||
|
||||
@ -73,7 +74,7 @@ write_account_group(FILE *out, AccountGroup *grp)
|
||||
|
||||
newgrp = xaccAccountGetChildren((Account*)(node->data));
|
||||
|
||||
if(grp)
|
||||
if (newgrp)
|
||||
{
|
||||
write_account_group(out, newgrp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user