Another crash fix

This commit is contained in:
o1 2015-01-15 09:19:17 +03:00
parent ccd40d757b
commit 185fff8465

View file

@ -90,7 +90,13 @@
return (position >= 0) && (position < size);
}
if ( _fd == NULL ) {
offset = 0;
size = 0;
return NO;
}
return (fseek(_fd, position, whence) == 0);
}