[GSUB/GPOS] Fix wrong buffer access in backward skippy mask matching
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 11 May 2012 15:18:37 +0000 (17:18 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 11 May 2012 15:18:37 +0000 (17:18 +0200)
src/hb-ot-layout-gsubgpos-private.hh

index 03a561a..77dc704 100644 (file)
@@ -200,7 +200,7 @@ struct hb_apply_context_t
        idx--;
       } while (_hb_ot_layout_skip_mark (c->face, &c->buffer->out_info[idx], lookup_props, property_out));
       num_items--;
-      return !!(c->buffer->info[idx].mask & mask);
+      return !!(c->buffer->out_info[idx].mask & mask);
     }
     inline bool prev (unsigned int *property_out = NULL)
     {