Fix mark skipping regression
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 17 Jan 2012 23:08:41 +0000 (18:08 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 17 Jan 2012 23:08:41 +0000 (18:08 -0500)
Ouch!

src/hb-ot-layout-gsubgpos-private.hh

index f22306f..8dbfc16 100644 (file)
@@ -88,9 +88,9 @@ struct hb_apply_context_t
     {
       do
       {
-       idx++;
        if (has_no_chance ())
          return false;
+       idx++;
       } while (_hb_ot_layout_skip_mark (c->face, &c->buffer->info[idx], lookup_props, property_out));
       num_items--;
       return true;