diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 85fcab91d..2217d298f 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -549,7 +549,7 @@ struct AnchorMatrix Iterator index_iter) { TRACE_SERIALIZE (this); - if (!index_iter.len ()) return_trace (false); + if (!index_iter) return_trace (false); if (unlikely (!c->extend_min ((*this)))) return_trace (false); this->rows = num_rows;