Minor correction to kern mask checking

This commit is contained in:
Behdad Esfahbod 2013-12-22 19:35:27 -05:00
parent a7e8bbb080
commit 02f909664f
1 changed files with 2 additions and 2 deletions

View File

@ -430,8 +430,8 @@ _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
hb_font_t *font, hb_font_t *font,
hb_buffer_t *buffer) hb_buffer_t *buffer)
{ {
hb_mask_t kern_mask = plan->map.get_1_mask (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ? hb_mask_t kern_mask = plan->map.get_mask (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ?
HB_TAG ('k','e','r','n') : HB_TAG ('v','k','r','n')); HB_TAG ('k','e','r','n') : HB_TAG ('v','k','r','n'));
if (!kern_mask) return; if (!kern_mask) return;
unsigned int count = buffer->len; unsigned int count = buffer->len;