Fix - rarch_zlib_xtract_file - is_dir would always be false for _WIN32

targets
This commit is contained in:
twinaphex 2013-01-11 23:06:25 +01:00
parent 5b63da79db
commit 3c16ea972d

View File

@ -87,7 +87,7 @@ static int rarch_zlib_extract_file(unzFile uf,
#endif
}
if(filename_inzip[strlen(filename_inzip) - 1] == '/')
if(filename_inzip[strlen(filename_inzip) - 1] == slash)
is_dir = true;
ret = unzOpenCurrentFile(uf);