Minor, use next_glyph()
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jun 2012 23:29:44 +0000 (19:29 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jun 2012 23:29:44 +0000 (19:29 -0400)
src/hb-ot-layout-gsub-table.hh

index 4229f32..b10f9b6 100644 (file)
@@ -520,7 +520,7 @@ struct Ligature
        while (c->should_mark_skip_current_glyph ())
        {
          set_lig_props (c->buffer->cur(),  lig_id, i);
-         c->replace_glyph (c->buffer->cur().codepoint);
+         c->buffer->next_glyph ();
        }
 
        /* Skip the base glyph */