Fix seeking to end of file
Jeffrey Pfau jeffrey@endrift.com
Thu, 17 Jul 2014 02:51:17 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/util/vfs-zip.c
→
src/util/vfs-zip.c
@@ -110,7 +110,7 @@ vfz->offset = position;
return position; } - if (position < vfz->fileSize) { + if (position <= vfz->fileSize) { ssize_t read = vf->read(vf, 0, position - vfz->offset); if (read < 0) { return -1;