buglet fix

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6426 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-12-30 18:19:03 +00:00
parent a83bda50a9
commit 71b50e0dc1

View File

@ -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);
}