(IGNORED_GLYPH): Fix checking of MarkAttachClass.
authorhanda <handa>
Fri, 13 Aug 2004 07:53:14 +0000 (07:53 +0000)
committerhanda <handa>
Fri, 13 Aug 2004 07:53:14 +0000 (07:53 +0000)
src/otfdrive.c

index 463f3e6..60eee03 100644 (file)
@@ -35,7 +35,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place, Suite
   ((g)->glyph_id == 0                          \
    || ((flag) & (1 << (g)->GlyphClass))                \
    || (((flag) & OTF_MarkAttachmentType)       \
-       && ((flag) >> 8) == (g)->MarkAttachClass))
+       && ((flag) >> 8) != (g)->MarkAttachClass))
 
 #define GSTRING_DELETE(gstring, from, len)                             \
   do {                                                                 \