Add back a null check
This was accidentally dropped in the previous commit.
This commit is contained in:
parent
318aa10708
commit
a451aa5465
|
@ -1898,6 +1898,8 @@ struct cmap
|
|||
bool get_nominal_glyph (hb_codepoint_t unicode,
|
||||
hb_codepoint_t *glyph) const
|
||||
{
|
||||
if (unlikely (!this->get_glyph_funcZ)) return false;
|
||||
|
||||
return this->get_glyph_funcZ (this->get_glyph_data, unicode, glyph);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue