* builds/amiga/src/base/ftsystem.c (ft_amiga_stream_io): Fix buffer
offsets after a large read.
This commit is contained in:
parent
2cefb52fc8
commit
a6e9ff3d20
|
@ -1,3 +1,8 @@
|
|||
2005-03-26 Detlef Würkner <TetiSoft@apg.lahn.de>
|
||||
|
||||
* builds/amiga/src/base/ftsystem.c (ft_amiga_stream_io): Fix buffer
|
||||
offsets after a large read.
|
||||
|
||||
2005-03-26 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/autofit/afglobal.c (af_face_globals_get_metrics):
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Amiga-specific FreeType low-level system interface (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002 by */
|
||||
/* Copyright 1996-2001, 2002, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -349,7 +349,7 @@ Free_VecPooled( APTR poolHeader,
|
|||
ULONG bufsize;
|
||||
|
||||
bufsize = ( read_bytes > IOBUF_SIZE ) ? IOBUF_SIZE : read_bytes;
|
||||
sysfile->iobuf_end = offset + read_bytes - bufsize;
|
||||
sysfile->iobuf_end = offset + read_bytes;
|
||||
sysfile->iobuf_start = sysfile->iobuf_end - bufsize;
|
||||
CopyMem( &buffer[read_bytes - bufsize] , sysfile->iobuf, bufsize );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue