From e8936f1f38de8d6d33ef750c545e6dcaa8bfe50c Mon Sep 17 00:00:00 2001 From: Graham Asher Date: Tue, 14 Jan 2003 15:53:33 +0000 Subject: [PATCH] Added 'const' to the first argument to FT_Matrix_Multiply. --- include/freetype/ftglyph.h | 2 +- src/base/ftglyph.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/freetype/ftglyph.h b/include/freetype/ftglyph.h index 67a698f55..e1acae7b8 100644 --- a/include/freetype/ftglyph.h +++ b/include/freetype/ftglyph.h @@ -483,7 +483,7 @@ FT_BEGIN_HEADER /* 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 ); diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c index 9f3d6fd4b..dbd31ea82 100644 --- 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;