mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-04 04:11:16 +02:00
- lua: fix hintbox/messagebox default width
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -86,7 +86,7 @@ int CLuaInstHintbox::HintboxNew(lua_State *L)
|
||||
tableLookup(L, "name", name) || tableLookup(L, "title", name) || tableLookup(L, "caption", name);
|
||||
tableLookup(L, "text", text);
|
||||
tableLookup(L, "icon", icon);
|
||||
lua_Integer width = 450;
|
||||
lua_Integer width = HINTBOX_MIN_WIDTH;
|
||||
tableLookup(L, "width", width);
|
||||
|
||||
CLuaHintbox **udata = (CLuaHintbox **) lua_newuserdata(L, sizeof(CLuaHintbox *));
|
||||
|
Reference in New Issue
Block a user