From b51c75730162a761be343bef29996e1b4567ba41 Mon Sep 17 00:00:00 2001 From: handa Date: Sun, 6 Jan 2008 14:24:35 +0000 Subject: [PATCH] (ft_drive_otf): Fix checking of negative feature. --- src/font-ft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4