diff --git a/src/menus.c b/src/menus.c index 98bf801..fb4bcd6 100644 --- a/src/menus.c +++ b/src/menus.c @@ -343,8 +343,8 @@ int menu_system(char *menufile) { continue; } lRet = (char *)lua_tostring(L, -1); + c = lRet[0]; lua_pop(L, 1); - c = lRet[0]; } for (i=0;i