shithub: freetype+ttf2subf

Download patch

ref: be1a8da313c3d83c454bbb5afee8e8758a073b82
parent: 2c425de9eab72925b09c5d361d8492fcf2e3f17b
author: Graham Asher <[email protected]>
date: Tue Jan 14 10:53:33 EST 2003

Added 'const' to the first argument to FT_Matrix_Multiply.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/ftglyph.h
+++ b/include/freetype/ftglyph.h
@@ -483,7 +483,7 @@
   /*    The result is undefined if either `a' or `b' is zero.              */
   /*                                                                       */
   FT_EXPORT( void )
-  FT_Matrix_Multiply( FT_Matrix*  a,
+  FT_Matrix_Multiply( const FT_Matrix*  a,
                       FT_Matrix*  b );
 
 
--- a/src/base/ftglyph.c
+++ b/src/base/ftglyph.c
@@ -56,7 +56,7 @@
   /* documentation is in ftglyph.h */
 
   FT_EXPORT_DEF( void )
-  FT_Matrix_Multiply( FT_Matrix*  a,
+  FT_Matrix_Multiply( const FT_Matrix*  a,
                       FT_Matrix*  b )
   {
     FT_Fixed  xx, xy, yx, yy;