Fix Lua stack corruption with os.isdir
This commit is contained in:
parent
0cc98c5f66
commit
d83689d7ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user