aboutsummaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-12-12 08:40:52 +0100
committerThomas White <taw@bitwiz.org.uk>2012-12-12 08:40:52 +0100
commitd990869a2a91d14f28813b700a20ba3c462b66e1 (patch)
tree3198a524995ce94550c7be4dff023a65e19f7ad5 /src/frame.c
parent2982aa6f70d4644ac2a5dd0ae4b6449c9a7b5ab2 (diff)
Fix render_test_sc1
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 21e26af..4cbb432 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -59,8 +59,7 @@ struct frame *frame_new()
n->max_children = 32;
alloc_ro(n);
- n->num_children = 1;
- n->children[0] = n;
+ n->num_children = 0;
n->pl = NULL;
n->contents = NULL;