[aat] Remove unneeded check

This commit is contained in:
Behdad Esfahbod 2018-02-04 14:19:41 -05:00
parent fcb8be1a38
commit c0b1c7eb2e
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ struct ContextualSubtable
{ {
hb_buffer_t *buffer = driver->buffer; hb_buffer_t *buffer = driver->buffer;
if (entry->data.markIndex != 0xFFFF && mark < buffer->len) if (entry->data.markIndex != 0xFFFF)
{ {
const Lookup<GlyphID> &lookup = subs[entry->data.markIndex]; const Lookup<GlyphID> &lookup = subs[entry->data.markIndex];
hb_glyph_info_t *info = buffer->info; hb_glyph_info_t *info = buffer->info;