[MATH] Simplify test
This commit is contained in:
parent
edcfa789bf
commit
a5629a2ed9
|
@ -319,10 +319,9 @@ get_glyph_assembly_italics_correction (hb_font_t *font,
|
||||||
hb_bool_t horizontal)
|
hb_bool_t horizontal)
|
||||||
{
|
{
|
||||||
hb_position_t corr;
|
hb_position_t corr;
|
||||||
unsigned int count = 0;
|
|
||||||
hb_ot_math_get_glyph_assembly (font, glyph,
|
hb_ot_math_get_glyph_assembly (font, glyph,
|
||||||
horizontal ? HB_DIRECTION_LTR : HB_DIRECTION_TTB,
|
horizontal ? HB_DIRECTION_LTR : HB_DIRECTION_TTB,
|
||||||
0, &count, NULL,
|
0, NULL, NULL,
|
||||||
&corr);
|
&corr);
|
||||||
return corr;
|
return corr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue