From 08863ed3d8c97e294b7d680702984fb9c7e408ac Mon Sep 17 00:00:00 2001 From: David St-Hilaire Date: Sun, 12 Feb 2023 21:33:40 -0500 Subject: [PATCH] fixed error in scheme SPR api function --- src/api/scheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/scheme.c b/src/api/scheme.c index 43da77fe4..a383ef428 100644 --- a/src/api/scheme.c +++ b/src/api/scheme.c @@ -163,7 +163,7 @@ s7_pointer scheme_spr(s7_scheme* sc, s7_pointer args) const s32 rotate = argn > 6 ? s7_integer(s7_list_ref(sc, args, 6)) : 0; const s32 w = argn > 7 ? s7_integer(s7_list_ref(sc, args, 7)) : 1; const s32 h = argn > 8 ? s7_integer(s7_list_ref(sc, args, 8)) : 1; - tic_api_spr(tic, id, x, y, w, h, trans_colors, trans_count, scale, (tic_rotate) rotate, (tic_flip)flip); + tic_api_spr(tic, id, x, y, w, h, trans_colors, trans_count, scale, (tic_flip)flip, (tic_rotate) rotate); return s7_nil(sc); } s7_pointer scheme_btn(s7_scheme* sc, s7_pointer args)