(ft_drive_otf): Fix checking of negative feature.
authorhanda <handa>
Sun, 6 Jan 2008 14:24:35 +0000 (14:24 +0000)
committerhanda <handa>
Sun, 6 Jan 2008 14:24:35 +0000 (14:24 +0000)
src/font-ft.c

index 9b91fd1..09b651a 100644 (file)
@@ -2285,7 +2285,7 @@ ft_drive_otf (MFLTFont *font, MFLTOtfSpec *spec,
     {
       char *p;
 
-      if (spec->features[i] && spec->features[i][1] != 0xFFFFFFFF)
+      if (spec->features[i] && spec->features[i][0] != 0xFFFFFFFF)
        {
          for (j = 0; spec->features[i][j]; j++);
          if (i == 0)