Minor, use next_glyph()

This commit is contained in:
Behdad Esfahbod 2012-06-08 19:29:44 -04:00
parent 5f68f8675e
commit 2bb1761ccb
1 changed files with 1 additions and 1 deletions

View File

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