pull/90/head
Behdad Esfahbod 10 years ago
parent f47cf1f12d
commit 8e3d4bae03
  1. 2
      src/hb-ot-layout-common-private.hh

@ -1041,7 +1041,7 @@ struct ClassDefFormat2
inline unsigned int get_class (hb_codepoint_t glyph_id) const inline unsigned int get_class (hb_codepoint_t glyph_id) const
{ {
int i = rangeRecord.bsearch (glyph_id); int i = rangeRecord.bsearch (glyph_id);
if (i != -1) if (unlikely (i != -1))
return rangeRecord[i].value; return rangeRecord[i].value;
return 0; return 0;
} }

Loading…
Cancel
Save