From 2e1bf61dd5afcef71957b349254b80e7cfd14e45 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Thu, 26 Mar 2020 22:59:26 +0430 Subject: [PATCH] [gsubgpos] Use FeatureVariations::NOT_FOUND_INDEX instead Index:: As noted by https://github.com/harfbuzz/harfbuzz/issues/2280#issuecomment-604386389 Added on b143e34, fixed on 2571891 Closes #2280 --- src/hb-ot-layout-gsubgpos.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index 6914ef77b..4e71c5647 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -3054,7 +3054,7 @@ struct GSUBGPOS unsigned int *index) const { #ifdef HB_NO_VAR - *index = Index::NOT_FOUND_INDEX; + *index = FeatureVariations::NOT_FOUND_INDEX; return false; #endif return (version.to_int () >= 0x00010001u ? this+featureVars : Null (FeatureVariations))