[MATH] Simplify test

This commit is contained in:
Behdad Esfahbod 2016-09-27 11:30:44 +02:00
parent edcfa789bf
commit a5629a2ed9
1 changed files with 1 additions and 2 deletions

View File

@ -319,10 +319,9 @@ get_glyph_assembly_italics_correction (hb_font_t *font,
hb_bool_t horizontal)
{
hb_position_t corr;
unsigned int count = 0;
hb_ot_math_get_glyph_assembly (font, glyph,
horizontal ? HB_DIRECTION_LTR : HB_DIRECTION_TTB,
0, &count, NULL,
0, NULL, NULL,
&corr);
return corr;
}