Commit 5aa7c451009665e321bced3f5ff3435a3a00fd48

henry 2004-04-09T04:08:08

Find no longer returns a pointer

diff --git a/include/FTCharToGlyphIndexMap.h b/include/FTCharToGlyphIndexMap.h
index bd31c67..6e40d3c 100644
--- a/include/FTCharToGlyphIndexMap.h
+++ b/include/FTCharToGlyphIndexMap.h
@@ -71,7 +71,7 @@ class FTGL_EXPORT FTCharToGlyphIndexMap
             }
         }
 
-        const GlyphIndex* find( CharacterCode c)
+        const GlyphIndex find( CharacterCode c)
         {
             if( !this->Indices)
             {
@@ -92,7 +92,7 @@ class FTGL_EXPORT FTCharToGlyphIndexMap
                 return 0;
             }
         
-            return ptr;
+            return *ptr;
         }
 
         void insert( CharacterCode c, GlyphIndex g)