From ced16ba9b20d58fb7f436602c9817dd4eb5ec3c5 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 5 Aug 2004 07:11:00 +0000 Subject: [PATCH] (lookup_gpos): Add support for LookupType 5. Fix handling of flag. (gstring_subst): Fix previous change. --- src/otfdrive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otfdrive.c b/src/otfdrive.c index c8138ac..fbb5112 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -74,7 +74,7 @@ gstring_subst (OTF_GlyphString *gstring, int from, int to, int flag, memmove (gstring->glyphs + i, gstring->glyphs + i + 1, sizeof (OTF_Glyph) * (non_ignored_idx - i)); - non_ignored_idx--; + gstring->glyphs[non_ignored_idx--] = temp; len--; } -- 1.7.10.4