From ffa123e5ba835bb68b063b017df144fb7f5d05ce Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 18 Mar 2018 16:15:53 +0100 Subject: Disallow insertion and deletion unless scblock==rscblock --- src/sc_interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sc_interp.c') diff --git a/src/sc_interp.c b/src/sc_interp.c index 6914b13..55d5f34 100644 --- a/src/sc_interp.c +++ b/src/sc_interp.c @@ -243,7 +243,7 @@ static int check_callback(SCInterpreter *scin, SCBlock *bl) if ( strcmp(cbl->names[i], name) != 0 ) continue; r = cbl->box_funcs[i](scin, bl, &w, &h, &bvp, cbl->vps[i]); if ( r ) { - add_callback_para(sc_interp_get_frame(scin), bl, w, h, + add_callback_para(sc_interp_get_frame(scin), bl, rbl, w, h, cbl->draw_funcs[i], cbl->click_funcs[i], bvp, cbl->vps[i]); } -- cgit v1.2.3