From: handa Date: Sun, 6 Jan 2008 14:24:35 +0000 (+0000) Subject: (ft_drive_otf): Fix checking of negative feature. X-Git-Tag: REL-1-5-1~27 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b51c75730162a761be343bef29996e1b4567ba41;p=m17n%2Fm17n-lib.git (ft_drive_otf): Fix checking of negative feature. --- diff --git a/src/font-ft.c b/src/font-ft.c index 9b91fd1..09b651a 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -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)