aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-11 21:38:56 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-11 21:38:56 +0200
commit351618c287e0567c28471c0433f5678a37182c1b (patch)
treedc16b7ea414556288228e0e5700de021c3b818e5
parent4b42907b33fa0cb367f05a1497acead1fa1d8dbc (diff)
Fix frame creation
-rw-r--r--src/mainwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index c203736..62dbe98 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1544,8 +1544,8 @@ static struct frame *create_frame(struct presentation *p, double x, double y,
fr = add_subframe(parent);
/* Add to SC */
- fr->scblocks = sc_block_append_inside(p->cur_edit_slide->scblocks,
- "f", NULL, NULL);
+ fr->scblocks = sc_block_append_end(p->cur_edit_slide->scblocks,
+ "f", NULL, NULL);
sc_block_set_frame(fr->scblocks, fr);
sc_block_append_inside(fr->scblocks, NULL, NULL, strdup(""));