Oops; forgot to update attrstr.h in the last commit. Also changed a TODO to a LONGTERM in opentype.c.
This commit is contained in:
parent
dcaf69bc51
commit
3f62cb5cee
|
@ -2,3 +2,6 @@
|
||||||
|
|
||||||
// attribute.c
|
// attribute.c
|
||||||
extern int uiprivAttributeEqual(const uiAttribute *a, const uiAttribute *b);
|
extern int uiprivAttributeEqual(const uiAttribute *a, const uiAttribute *b);
|
||||||
|
|
||||||
|
// opentype.c
|
||||||
|
extern int uiprivOpenTypeFeaturesEqual(const uiOpenTypeFeatures *a, const uiOpenTypeFeatures *b);
|
||||||
|
|
|
@ -88,7 +88,7 @@ void uiOpenTypeFeaturesAdd(uiOpenTypeFeatures *otf, char a, char b, char c, char
|
||||||
f->c = c;
|
f->c = c;
|
||||||
f->d = d;
|
f->d = d;
|
||||||
f->value = value;
|
f->value = value;
|
||||||
// TODO qsort here is overkill
|
// LONGTERM qsort here is overkill
|
||||||
otf->len++;
|
otf->len++;
|
||||||
qsort(otf->data, otf->len, sizeof (struct feature), featurecmp);
|
qsort(otf->data, otf->len, sizeof (struct feature), featurecmp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue