summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua')
-rw-r--r--apps/plugins/lua/rocklib_img.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lua/rocklib_img.c b/apps/plugins/lua/rocklib_img.c
index 887ef984d0..13e5503f75 100644
--- a/apps/plugins/lua/rocklib_img.c
+++ b/apps/plugins/lua/rocklib_img.c
@@ -1400,7 +1400,7 @@ RB_WRAP(lcd_setfont)
static void checkint_arr(lua_State *L, int *val, int narg, int elems)
{
/* fills passed array of integers with lua integers from stack */
- for (int i = 0; i < elems; i++)
+ for (int i = 0; i < elems; i++)
val[i] = luaL_checkint(L, narg + i);
}
@@ -1538,7 +1538,7 @@ RB_WRAP(lcd_bitmap_transparent_part)
int v[eCNT];
checkint_arr(L, v, 2, eCNT);
- RB_SCREENS(L, 9, transparent_bitmap_part, src->data,
+ RB_SCREENS(L, 9, transparent_bitmap_part, src->data,
v[src_x], v[src_y], v[stride], v[x], v[y], v[w], v[h]);
return 0;
}