From: handa Date: Thu, 5 Aug 2004 07:11:00 +0000 (+0000) Subject: (lookup_gpos): Add support for LookupType 5. X-Git-Tag: REL-0-9-1~16 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ced16ba9b20d58fb7f436602c9817dd4eb5ec3c5;p=m17n%2Flibotf.git (lookup_gpos): Add support for LookupType 5. Fix handling of flag. (gstring_subst): Fix previous change. --- 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--; }