Fix - rarch_zlib_xtract_file - is_dir would always be false for _WIN32
targets
This commit is contained in:
parent
5b63da79db
commit
3c16ea972d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue