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:
parent
12d231443c
commit
618345a2ef
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue