CLuaInstance: Fix commit 79b8a95524

- Use return value from checkMagicMask() for color


Origin commit data
------------------
Branch: ni/coolstream
Commit: a7790ce049
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-01 (Fri, 01 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-01 14:41:53 +01:00
parent 710892b516
commit ea68425f82
4 changed files with 17 additions and 17 deletions

View File

@@ -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;