Fixed the build.
This commit is contained in:
parent
4f31a1331c
commit
3e28887a24
|
@ -342,9 +342,9 @@ static int specsIdentical(struct attr *attr, uiAttributeSpec *spec)
|
||||||
attr->spec.G == spec->G &&
|
attr->spec.G == spec->G &&
|
||||||
attr->spec.B == spec->B &&
|
attr->spec.B == spec->B &&
|
||||||
attr->spec.A == spec->A;
|
attr->spec.A == spec->A;
|
||||||
// TODO use boolsEqual() on boolean features
|
|
||||||
}
|
}
|
||||||
// handles the rest
|
// handles the rest, including pointer comparison for uiAttributeFeatures
|
||||||
|
// TODO rename it to uiAttributeOpenTypeFeatures?
|
||||||
return attr->spec.Value == spec->Value;
|
return attr->spec.Value == spec->Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,7 @@ static int processAttribute(uiAttributedString *s, uiAttributeSpec *spec, size_t
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
cae uiAttributeOpenTypeFeatures:
|
case uiAttributeFeatures:
|
||||||
setFeaturesInRange(p, start, end, (uiOpenTypeFeatures *) (spec->Value));
|
setFeaturesInRange(p, start, end, (uiOpenTypeFeatures *) (spec->Value));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue