mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Fixed check for decompression support when using raw.
This commit is contained in:
parent
b4d88d426b
commit
2eb2907823
2
mz_zip.c
2
mz_zip.c
@ -1774,7 +1774,7 @@ int32_t mz_zip_entry_read_open(void *handle, uint8_t raw, const char *password)
|
||||
}
|
||||
|
||||
#ifdef MZ_ZIP_NO_DECOMPRESSION
|
||||
if (zip->file_info.compression_method != MZ_COMPRESS_METHOD_STORE)
|
||||
if (!raw && zip->file_info.compression_method != MZ_COMPRESS_METHOD_STORE)
|
||||
err = MZ_SUPPORT_ERROR;
|
||||
#endif
|
||||
if (err == MZ_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user