diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/zipfile/zipfile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx index 381e52cf7642..70a20f765038 100644 --- a/shell/source/win32/zipfile/zipfile.cxx +++ b/shell/source/win32/zipfile/zipfile.cxx @@ -264,6 +264,7 @@ static bool findCentralDirectoryEnd(StreamInterface *stream) if (!stream) return false; stream->sseek(0, SEEK_SET); + if (stream->sseek(-1024, SEEK_END)) stream->sseek(0, SEEK_SET); try { while (stream->stell() != -1) |