diff --git a/src/hb-aat-layout-ankr-table.hh b/src/hb-aat-layout-ankr-table.hh index 2a903fdaf..e64ad0942 100644 --- a/src/hb-aat-layout-ankr-table.hh +++ b/src/hb-aat-layout-ankr-table.hh @@ -43,7 +43,7 @@ struct GlyphDataTable { TRACE_SANITIZE (this); return_trace (c->check_struct (this) && - (numPoints == 0) && + (numPoints != 0) && (anchorPoints.sanitize (c, numPoints))); }