Timeout defaults to 20, added StatusLineW
This commit is contained in:
parent
1a016338e7
commit
e9ef15f07b
1 changed files with 4 additions and 1 deletions
|
@ -284,7 +284,6 @@ static int CclSetTitleScreens(lua_State* l)
|
|||
LuaError(l, "incorrect argument");
|
||||
}
|
||||
TitleScreens[j] = calloc(1, sizeof(**TitleScreens));
|
||||
TitleScreens[j]->Timeout = 20;
|
||||
lua_pushnil(l);
|
||||
while (lua_next(l, j + 1)) {
|
||||
value = LuaToString(l, -2);
|
||||
|
@ -1935,6 +1934,10 @@ static int CclDefineUI(lua_State* l)
|
|||
ui->StatusLineTextY = LuaToNumber(l, -1);
|
||||
lua_pop(l, 1);
|
||||
lua_pop(l, 1);
|
||||
} else if (!strcmp(value, "width")) {
|
||||
lua_rawgeti(l, j + 1, k + 1);
|
||||
ui->StatusLineW = LuaToNumber(l, -1);
|
||||
lua_pop(l, 1);
|
||||
} else if (!strcmp(value, "font")) {
|
||||
lua_rawgeti(l, j + 1, k + 1);
|
||||
ui->StatusLineFont = FontByIdent(LuaToString(l, -1));
|
||||
|
|
Loading…
Reference in a new issue