aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-08-09 23:28:45 +0200
committerThomas White <taw@bitwiz.org.uk>2014-08-09 23:28:45 +0200
commite415d92a4b18ab901bdfbf51e5078fd889ea0765 (patch)
tree53716cb11cb5c2a219d15810155104da0e033a00
parent7d617875ef6641de2dece6fc11a67fa6b1f0da0f (diff)
Fix frame resize
-rw-r--r--src/sc_interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 111c126..bbd1e75 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -573,7 +573,7 @@ static int check_outputs(SCBlock *bl, SCInterpreter *scin)
if ( fr == NULL ) {
fr = add_subframe(sc_interp_get_frame(scin));
sc_block_set_frame(bl, fr);
- fr->scblocks = child;
+ fr->scblocks = bl;
}
if ( fr == NULL ) {
fprintf(stderr, "Failed to add frame.\n");