Another crash fix

CQTexperiment
o1 2015-01-15 09:19:17 +03:00
parent ccd40d757b
commit 185fff8465
1 changed files with 7 additions and 1 deletions

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);
}