(mfont__ft_drive_otf): Fix previous change.
authorhanda <handa>
Thu, 5 Aug 2004 08:35:59 +0000 (08:35 +0000)
committerhanda <handa>
Thu, 5 Aug 2004 08:35:59 +0000 (08:35 +0000)
src/font-ft.c

index 426bc4f..fb5094e 100644 (file)
@@ -1106,9 +1106,9 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to,
              /* Not yet supported.  */
              break;
            }
-         if (g->GlyphClass == OTF_GlyphClass0)
+         if (otfg->GlyphClass == OTF_GlyphClass0)
            base = mark = g;
-         else if (g->GlyphClass == OTF_GlyphMark)
+         else if (otfg->GlyphClass == OTF_GlyphClassMark)
            mark = g;
          else
            base = g;