mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
luainstance: fix wrong integer type usage
Origin commit data
------------------
Branch: ni/coolstream
Commit: caa5d5c327
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-05-02 (Fri, 02 May 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
938f19d739
commit
d5e2da42ef
@@ -1787,8 +1787,8 @@ int CLuaInstance::ComponentsTextSetText(lua_State *L)
|
|||||||
if (!m) return 0;
|
if (!m) return 0;
|
||||||
|
|
||||||
std::string text = "";
|
std::string text = "";
|
||||||
int mode = m->mode;
|
lua_Integer mode = m->mode;
|
||||||
int font_text = m->font_text;
|
lua_Integer font_text = m->font_text;
|
||||||
tableLookup(L, "text", text);
|
tableLookup(L, "text", text);
|
||||||
tableLookup(L, "mode", mode);
|
tableLookup(L, "mode", mode);
|
||||||
tableLookup(L, "font_text", font_text);
|
tableLookup(L, "font_text", font_text);
|
||||||
@@ -1862,9 +1862,9 @@ int CLuaInstance::CPictureNew(lua_State *L)
|
|||||||
lua_assert(lua_istable(L,1));
|
lua_assert(lua_istable(L,1));
|
||||||
|
|
||||||
CLuaCWindow* parent = NULL;
|
CLuaCWindow* parent = NULL;
|
||||||
int x=10, y=10, dx=100, dy=100;
|
lua_Integer x=10, y=10, dx=100, dy=100;
|
||||||
std::string image_name = "";
|
std::string image_name = "";
|
||||||
int alignment = CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER;
|
lua_Integer alignment = CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER;
|
||||||
|
|
||||||
std::string tmp1 = "false"; // has_shadow
|
std::string tmp1 = "false"; // has_shadow
|
||||||
lua_Integer color_frame = (lua_Integer)COL_MENUCONTENT_PLUS_6;
|
lua_Integer color_frame = (lua_Integer)COL_MENUCONTENT_PLUS_6;
|
||||||
|
Reference in New Issue
Block a user