Commit 94fe5f4d59c752f36fe725f0c441c59ec830658f

sammy 2008-04-13T09:37:13

* Fix minor typo (polyon -> polygon).

diff --git a/src/FTExtrdGlyph.cpp b/src/FTExtrdGlyph.cpp
index 86f218b..7f5dcef 100644
--- a/src/FTExtrdGlyph.cpp
+++ b/src/FTExtrdGlyph.cpp
@@ -75,9 +75,9 @@ FTExtrdGlyph::FTExtrdGlyph(FT_GlyphSlot glyph, float depth, bool useDisplayList)
     for(unsigned int j = 0; j < mesh->TesselationCount(); ++j)
     {
         const FTTesselation* subMesh = mesh->Tesselation(j);
-        unsigned int polyonType = subMesh->PolygonType();
+        unsigned int polygonType = subMesh->PolygonType();
 
-        glBegin(polyonType);
+        glBegin(polygonType);
             for(unsigned int i = 0; i < subMesh->PointCount(); ++i)
             {
                 FTPoint pt = subMesh->Point(i);
@@ -99,9 +99,9 @@ FTExtrdGlyph::FTExtrdGlyph(FT_GlyphSlot glyph, float depth, bool useDisplayList)
     for(unsigned int j = 0; j < mesh->TesselationCount(); ++j)
     {
         const FTTesselation* subMesh = mesh->Tesselation(j);
-        unsigned int polyonType = subMesh->PolygonType();
+        unsigned int polygonType = subMesh->PolygonType();
 
-        glBegin(polyonType);
+        glBegin(polygonType);
             for(unsigned int i = 0; i < subMesh->PointCount(); ++i)
             {
                 FTPoint pt = subMesh->Point(i);
diff --git a/src/FTPolyGlyph.cpp b/src/FTPolyGlyph.cpp
index ce89287..97ec4d4 100644
--- a/src/FTPolyGlyph.cpp
+++ b/src/FTPolyGlyph.cpp
@@ -70,9 +70,9 @@ FTPolyGlyph::FTPolyGlyph( FT_GlyphSlot glyph, bool useDisplayList)
     for( unsigned int index = 0; index < mesh->TesselationCount(); ++index)
     {
         const FTTesselation* subMesh = mesh->Tesselation( index);
-        unsigned int polyonType = subMesh->PolygonType();
+        unsigned int polygonType = subMesh->PolygonType();
 
-        glBegin( polyonType);
+        glBegin( polygonType);
             for( unsigned int pointIndex = 0; pointIndex < subMesh->PointCount(); ++pointIndex)
             {
                 FTPoint point = subMesh->Point(pointIndex);