зеркало из https://github.com/stride3d/freetype.git
The assumed Seek() position in the file cache was off by one byte.
This commit is contained in:
Родитель
6b1c597cba
Коммит
ba0893c915
|
@ -305,7 +305,7 @@ Free_VecPooled( APTR poolHeader,
|
|||
if ( (offset < sysfile->iobuf_start) || (offset + count > sysfile->iobuf_end) )
|
||||
{
|
||||
/* requested offset implies we need a buffer refill */
|
||||
if ( !sysfile->iobuf_end || offset != (sysfile->iobuf_end + 1) )
|
||||
if ( !sysfile->iobuf_end || offset != sysfile->iobuf_end )
|
||||
{
|
||||
/* a physical seek is necessary */
|
||||
Seek( sysfile->file, offset, OFFSET_BEGINNING );
|
||||
|
|
Загрузка…
Ссылка в новой задаче