aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2018-02-23 17:11:00 +0100
committerThomas White <taw@physics.org>2018-02-23 18:32:50 +0100
commitbcc252be3d5d40aa631d08f277f632ed515afbf9 (patch)
treeb10a2177ed97bab1aae89a3b8a2e916ddfdddce5
parent671b86e76f81e2f77be22514c610b26f0e6901cb (diff)
Add SCBlocks into editor at right level
Another fix due to 6dedc1eb
-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);
}