Skip to content

Commit

Permalink
Merge pull request #2125 from sthilaid/fix-scheme-spr
Browse files Browse the repository at this point in the history
fixed error in scheme SPR api function
  • Loading branch information
nesbox authored Feb 13, 2023
2 parents c6d753a + 08863ed commit 8c02190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/scheme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8c02190

Please sign in to comment.