Fixed broken SUSP handling

This commit is contained in:
Mario Danic
2007-08-02 19:10:08 +00:00
parent 9d08c115fd
commit b7573134cb
2 changed files with 2 additions and 8 deletions

View File

@ -205,10 +205,8 @@ susp_finalize(struct ecma119_write_target *t, struct ecma119_tree_node *dir)
assert(dir->type = ECMA119_DIR);
if (dir->info.dir.depth != 1) {
susp_fin_CE(t, dir);
}
susp_fin_CE(t, dir);
for (i = 0; i < dir->info.dir.nchildren; i++) {
if (dir->info.dir.children[i]->type == ECMA119_DIR)
susp_finalize(t, dir->info.dir.children[i]);