aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 493e076..c872acc 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -459,7 +459,7 @@ void sc_editor_add_storycode(SCEditor *e, const char *sc)
{
SCBlock *nf;
nf = sc_parse(sc);
- sc_block_append_block(e->scblocks, nf);
+ sc_block_append_block(sc_block_child(e->scblocks), nf);
full_rerender(e);
}