mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
CLuaInstance: Fix commit e85f64d733
- Use return value from checkMagicMask() for color
This commit is contained in:
@@ -108,9 +108,9 @@ int CLuaInstCCPicture::CCPictureNew(lua_State *L)
|
||||
tableLookup(L, "color_shadow", color_shadow);
|
||||
tableLookup(L, "transparency", transparency);
|
||||
|
||||
checkMagicMask(color_frame);
|
||||
checkMagicMask(color_background);
|
||||
checkMagicMask(color_shadow);
|
||||
color_frame = checkMagicMask(color_frame);
|
||||
color_background = checkMagicMask(color_background);
|
||||
color_shadow = checkMagicMask(color_shadow);
|
||||
|
||||
CComponentsForm* pw = (parent && parent->w) ? parent->w->getBodyObject() : NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user