mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
lua_cc_text: fix type to allow compilation with recent gcc
This commit is contained in:
committed by
M. Liebmann
parent
da83468bfb
commit
aac438745c
@@ -98,7 +98,7 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
|
|||||||
if (font_text >= SNeutrinoSettings::FONT_TYPE_COUNT || font_text < 0)
|
if (font_text >= SNeutrinoSettings::FONT_TYPE_COUNT || font_text < 0)
|
||||||
font_text = SNeutrinoSettings::FONT_TYPE_MENU;
|
font_text = SNeutrinoSettings::FONT_TYPE_MENU;
|
||||||
|
|
||||||
int shadow_mode = CC_SHADOW_OFF;
|
lua_Integer shadow_mode = CC_SHADOW_OFF;
|
||||||
if (!tableLookup(L, "has_shadow", shadow_mode)) {
|
if (!tableLookup(L, "has_shadow", shadow_mode)) {
|
||||||
std::string tmp1 = "false";
|
std::string tmp1 = "false";
|
||||||
if (tableLookup(L, "has_shadow", tmp1))
|
if (tableLookup(L, "has_shadow", tmp1))
|
||||||
|
Reference in New Issue
Block a user