lua_cc_text: fix CCTextNew default values

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3a6c21aa16
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-08-25 (Thu, 25 Aug 2022)

Origin message was:
------------------
- lua_cc_text: fix CCTextNew default values

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-08-25 22:15:14 +02:00
parent a8e6b8be20
commit b29cfdc69c

View File

@@ -80,7 +80,7 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
lua_assert(lua_istable(L,1));
CLuaCCWindow* parent = NULL;
lua_Integer x=10, y=10, dx=-1, dy=-1;
lua_Integer x=OFFSET_INNER_MID, y=OFFSET_INNER_SMALL, dx=-1, dy=-1;
std::string text = "";
std::string tmpMode = "";
lua_Integer mode = CTextBox::AUTO_WIDTH;