Another crash fix
parent
ccd40d757b
commit
185fff8465
|
@ -90,7 +90,13 @@
|
|||
|
||||
return (position >= 0) && (position < size);
|
||||
}
|
||||
|
||||
|
||||
if ( _fd == NULL ) {
|
||||
offset = 0;
|
||||
size = 0;
|
||||
return NO;
|
||||
}
|
||||
|
||||
return (fseek(_fd, position, whence) == 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue