mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 00:59:16 +01:00
[gsubgpos] Use FeatureVariations::NOT_FOUND_INDEX instead Index::
As noted by https://github.com/harfbuzz/harfbuzz/issues/2280#issuecomment-604386389 Added onb143e34, fixed on2571891Closes #2280
This commit is contained in:
1 parent
96d792ae80
commit
2e1bf61dd5
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user