mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Better comparison of os stream is open.
This commit is contained in:
parent
4ae469a0a4
commit
71027dc8fb
@ -217,7 +217,7 @@ int32_t mz_stream_os_seek(void *stream, int64_t offset, int32_t origin)
|
||||
LARGE_INTEGER large_pos;
|
||||
|
||||
|
||||
if (mz_stream_os_is_open(stream) == MZ_STREAM_ERROR)
|
||||
if (mz_stream_os_is_open(stream) != MZ_OK)
|
||||
return MZ_STREAM_ERROR;
|
||||
|
||||
switch (origin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user