fix a bug with menus
This commit is contained in:
parent
07b5568037
commit
760fef49b2
@ -343,8 +343,8 @@ int menu_system(char *menufile) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
lRet = (char *)lua_tostring(L, -1);
|
lRet = (char *)lua_tostring(L, -1);
|
||||||
|
c = lRet[0];
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
c = lRet[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i=0;i<menu_items;i++) {
|
for (i=0;i<menu_items;i++) {
|
||||||
|
Reference in New Issue
Block a user