More removal of lig-id code from buffer

This commit is contained in:
Behdad Esfahbod 2010-10-27 17:01:03 -04:00
parent dd2ffd282c
commit f6a23a0b91
1 changed files with 2 additions and 2 deletions

View File

@ -248,11 +248,11 @@ hb_buffer_add_glyph (hb_buffer_t *buffer,
if (unlikely (!_hb_buffer_ensure (buffer, buffer->len + 1))) return;
glyph = &buffer->info[buffer->len];
memset (glyph, 0, sizeof (*glyph));
glyph->codepoint = codepoint;
glyph->mask = mask;
glyph->cluster = cluster;
glyph->component() = 0;
glyph->lig_id() = 0;
glyph->gproperty() = HB_BUFFER_GLYPH_PROPERTIES_UNKNOWN;
buffer->len++;