1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 04:45:17 +03:00
Produces a segfault with the telenowa script (missing bitmap)
This commit is contained in:
Bertrand Songis 2017-03-22 09:41:07 +01:00 committed by Damjan Adamic
parent 12d231443c
commit 618345a2ef

View file

@ -422,7 +422,6 @@ static int luaOpenBitmap(lua_State * L)
static BitmapBuffer * checkBitmap(lua_State * L, int index)
{
BitmapBuffer ** b = (BitmapBuffer **)luaL_checkudata(L, index, LUA_BITMAPHANDLE);
if (!*b) luaL_error(L, "null Image");
return *b;
}