fixed a MSVC specific ism (mudlords own words)
git-svn-id: https://svn.code.sf.net/p/vbam/code/branches/Pre-Wx@1022 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
413b471e1b
commit
7e6c812d6b
|
@ -706,8 +706,8 @@ long ZEXPORT memgzseek(gzFile file, long off, int whence)
|
|||
}
|
||||
// this is inefficient, but the best I can do without actually reading
|
||||
// the above code
|
||||
char buf[80];
|
||||
while(off > 0) {
|
||||
char buf[80];
|
||||
int r = memgzread(file, buf, off > 80 ? 80 : off);
|
||||
if(r <= 0)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue