[gsubgpos/closure] Minor condition use bool operator

pull/3740/head
Behdad Esfahbod 2 years ago
parent 55a1e0bb11
commit 6826b2c3fd
  1. 2
      src/hb-ot-layout-gsubgpos.hh

@ -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 ();

Loading…
Cancel
Save