aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sc_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 3c5c064..75d29b7 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -1362,7 +1362,7 @@ static struct frame *create_frame(SCEditor *e, double x, double y,
fr = add_subframe(parent);
/* Add to SC */
- scblocks = sc_block_append_end(e->scblocks, "f", NULL, NULL);
+ scblocks = sc_block_append_end(sc_block_child(e->scblocks), "f", NULL, NULL);
fr->scblocks = scblocks;
sc_block_append_inside(scblocks, NULL, NULL, strdup(""));