diff options
author | Thomas White <taw@physics.org> | 2018-03-18 16:15:53 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-18 21:35:44 +0100 |
commit | ffa123e5ba835bb68b063b017df144fb7f5d05ce (patch) | |
tree | e7d0ebd7274e52e7b8b671d6f37bec1a8563108b /src/sc_interp.c | |
parent | 61394e51a92e28963d82ded391ccf402a0157b5d (diff) |
Disallow insertion and deletion unless scblock==rscblock
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r-- | src/sc_interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } |