commit | 89bd6d63bdea9da7627695f6c82e54f16d368b51 | [log] [tgz] |
---|---|---|
author | Dieter Baron <dillo@nih.at> | Thu Oct 17 12:18:01 2019 +0200 |
committer | Dieter Baron <dillo@nih.at> | Thu Oct 17 12:18:06 2019 +0200 |
tree | 560794ac9c3f2eb302e0c50a6cdf206603455723 | |
parent | 17aedbb1a7c6dda50e859c957cc75bdda6364196 [diff] |
Fix SEEK_SET when start offset > 0.
diff --git a/lib/zip_source_win32handle.c b/lib/zip_source_win32handle.c index fa48271..baa19cb 100644 --- a/lib/zip_source_win32handle.c +++ b/lib/zip_source_win32handle.c
@@ -266,7 +266,7 @@ switch (args->whence) { case SEEK_SET: - new_current = args->offset; + new_current = args->offset + ctx->start; break; case SEEK_END: