Fix lookahead matching. Oops!
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 15 May 2010 00:09:48 +0000 (20:09 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 15 May 2010 00:09:48 +0000 (20:09 -0400)
src/hb-ot-layout-gsubgpos-private.hh

index 71c2975..8f33988 100644 (file)
@@ -154,7 +154,7 @@ static inline bool match_lookahead (hb_apply_context_t *c,
 
   for (i = 0, j = c->buffer->in_pos + offset; i < count; i++, j++)
   {
-    while (_hb_ot_layout_skip_mark (c->layout->face, OUT_INFO (j), c->lookup_flag, NULL))
+    while (_hb_ot_layout_skip_mark (c->layout->face, IN_INFO (j), c->lookup_flag, NULL))
     {
       if (unlikely (j + count - i == end))
        return false;