Fix Lua stack corruption with os.isdir

This commit is contained in:
Lynix 2017-04-03 09:15:59 +02:00
parent 0cc98c5f66
commit d83689d7ee

View File

@ -46,7 +46,7 @@ int os_isdir(lua_State* L)
}
#ifdef _WIN32
lua_pop(L, -2); /* pop wide string */
lua_remove(L, -2); /* pop wide string */
#endif
return 1;