[gsubgpos/closure] Minor condition use bool operator

This commit is contained in:
Behdad Esfahbod 2022-07-20 13:25:34 -06:00
parent 55a1e0bb11
commit 6826b2c3fd
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ struct hb_closure_context_t :
bool pop_cur_done_glyphs ()
{
if (active_glyphs_stack.length < 1)
if (!active_glyphs_stack)
return false;
active_glyphs_stack.pop ();