mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
25 lines
894 B
Diff
25 lines
894 B
Diff
===================================================================
|
|
RCS file: /var/lib/cvs/sources/freetype/freetype2/src/base/ftbitmap.c,v
|
|
retrieving revision 1.17
|
|
retrieving revision 1.18
|
|
diff -u -r1.17 -r1.18
|
|
--- freetype/freetype2/src/base/ftbitmap.c 2007/03/29 11:56:21 1.17
|
|
+++ freetype/freetype2/src/base/ftbitmap.c 2007/04/06 08:19:04 1.18
|
|
@@ -149,15 +149,15 @@
|
|
if ( bit_last < bit_width )
|
|
{
|
|
FT_Byte* line = bitmap->buffer + ( bit_last >> 3 );
|
|
+ FT_Byte* end = bitmap->buffer + pitch;
|
|
FT_Int shift = bit_last & 7;
|
|
FT_UInt mask = 0xFF00U >> shift;
|
|
FT_Int count = height;
|
|
|
|
|
|
- for ( ; count > 0; count--, line += pitch )
|
|
+ for ( ; count > 0; count--, line += pitch, end += pitch )
|
|
{
|
|
FT_Byte* write = line;
|
|
- FT_Byte* end = line + pitch;
|
|
|
|
|
|
if ( shift > 0 )
|