Commit 0608bbfea00e78dc613a71692309c2f33b30d1d1

sammy 2008-04-25T09:59:48

* Synchronise FTCharmap::GlyphListIndex and FTCharmap::FontIndex prototypes declarations with their definitions. Patch by Vladimir Marek, taken from Blender commit r8915.

diff --git a/src/FTCharmap.cpp b/src/FTCharmap.cpp
index 18a3be9..0475045 100644
--- a/src/FTCharmap.cpp
+++ b/src/FTCharmap.cpp
@@ -77,15 +77,15 @@ bool FTCharmap::CharMap( FT_Encoding encoding)
 }
 
 
-unsigned int FTCharmap::GlyphListIndex( unsigned int characterCode )
+unsigned int FTCharmap::GlyphListIndex(const unsigned int characterCode)
 {
-    return charMap.find( characterCode);
+    return charMap.find(characterCode);
 }
 
 
-unsigned int FTCharmap::FontIndex( unsigned int characterCode )
+unsigned int FTCharmap::FontIndex(const unsigned int characterCode)
 {
-    return FT_Get_Char_Index( ftFace, characterCode);
+    return FT_Get_Char_Index(ftFace, characterCode);
 }