summaryrefslogtreecommitdiff
path: root/core/io/zip_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/zip_io.cpp')
-rw-r--r--core/io/zip_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/zip_io.cpp b/core/io/zip_io.cpp
index e0e491dc85..fb4c76aa7a 100644
--- a/core/io/zip_io.cpp
+++ b/core/io/zip_io.cpp
@@ -74,7 +74,7 @@ long zipio_seek(voidpf opaque, voidpf stream, uLong offset, int origin) {
pos = f->get_position() + offset;
break;
case ZLIB_FILEFUNC_SEEK_END:
- pos = f->get_len() + offset;
+ pos = f->get_length() + offset;
break;
default:
break;