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

@@ -111,10 +111,10 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
tableLookup(L, "color_body", color_body);
tableLookup(L, "color_shadow", color_shadow);
checkMagicMask(color_text);
checkMagicMask(color_frame);
checkMagicMask(color_body);
checkMagicMask(color_shadow);
color_text = checkMagicMask(color_text);
color_frame = checkMagicMask(color_frame);
color_body = checkMagicMask(color_body);
color_shadow = checkMagicMask(color_shadow);
if (!tmpMode.empty()) {
table_key txt_align[] = {