Produces a segfault with the telenowa script (missing bitmap)
This commit is contained in:
committed by
Damjan Adamic
parent
12d231443c
commit
618345a2ef
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user