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:
Pietro Gagliardi 2018-02-25 20:40:23 -05:00
parent dcaf69bc51
commit 3f62cb5cee
2 changed files with 4 additions and 1 deletions

View File

@ -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);

View File

@ -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);
} }