fixed compiling errors

This commit is contained in:
Felix Geyer 2004-08-07 10:47:08 +00:00
parent 574189468b
commit d4bcbf586a

View File

@ -174,7 +174,7 @@ displayMenu(id, pos) {
if (start >= datanum) start = pos = g_menuPos[id] = 0 if (start >= datanum) start = pos = g_menuPos[id] = 0
new len = format(menu_body,511, new len = format(menu_body,511,
g_coloredMenus ? "\y%L\R%d/%d^n\w^n" : "%L %d/%d^n^n", g_coloredMenus ? "\y%L\R%d/%d^n\w^n" : "%L %d/%d^n^n",
id,"PAUSE_UNPAUSE"pos + 1,((datanum/6)+((datanum%6)?1:0))) id,"PAUSE_UNPAUSE",pos + 1,((datanum/6)+((datanum%6)?1:0)))
new end = start + 6, keys = MENU_KEY_0|MENU_KEY_8|MENU_KEY_7 new end = start + 6, keys = MENU_KEY_0|MENU_KEY_8|MENU_KEY_7
if (end > datanum) end = datanum if (end > datanum) end = datanum
for (new a = start; a < end; ++a) { for (new a = start; a < end; ++a) {