small format changes

This commit is contained in:
Borja Ferrer 2005-09-13 16:05:57 +00:00
parent f02c73f94c
commit 13e654aafe
2 changed files with 3 additions and 3 deletions

View File

@ -346,7 +346,7 @@ public plugin_cfg()
new len = format(configFile, 63, "%s/maps/%s.cfg", configFile, curMap)
if (file_exists(configFile))
set_task(6.1, "delayed_load", 0, configFile, len+1)
set_task(6.1, "delayed_load", 0, configFile, len + 1)
}
public delayed_load(configFile[])

View File

@ -215,8 +215,8 @@ displayCfgMenu(id, pos)
for (new a = start; a < end; ++a)
{
keys |= (1<<k)
len += format(menu_body[len], 511-len, "%d. %s\y\R%L^n\w", ++k, g_menuData[a], id, get_xvar_num(g_menuDataId[a]) ? "ON" : "OFF")
keys |= (1<<k)
len += format(menu_body[len], 511-len, "%d. %s\y\R%L^n\w", ++k, g_menuData[a], id, get_xvar_num(g_menuDataId[a]) ? "ON" : "OFF")
}
if (g_menuDataNum == 0)