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
-1
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;
}