aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2017-03-02 22:40:58 +0100
committerThomas White <taw@bitwiz.org.uk>2017-03-02 22:45:07 +0100
commite7eede3273394f3479bb63f92e57780dfc8f2e3d (patch)
treead8467da22a4c1f2cdca113b77f096e5e643b98b /src/sc_editor.c
parent397fbd7032b57fec6aee9b8eac4ccf693aedc63a (diff)
sc_block_delete() may change the top block
Diffstat (limited to 'src/sc_editor.c')
-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 38b245d..cf6c594 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -397,7 +397,7 @@ void sc_editor_redraw(SCEditor *e)
void sc_editor_delete_selected_frame(SCEditor *e)
{
- sc_block_delete(e->scblocks, e->selection->scblocks);
+ sc_block_delete(&e->scblocks, e->selection->scblocks);
full_rerender(e);
emit_change_sig(e);
}