From 2bb1761ccb7d300744ced6427165f4ea75ddf96c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 8 Jun 2012 19:29:44 -0400 Subject: [PATCH] Minor, use next_glyph() --- src/hb-ot-layout-gsub-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index 4229f32f0..b10f9b6f3 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -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 */