From 3f62cb5cee6eccb14c501c6ae42deee6edc3ab41 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 25 Feb 2018 20:40:23 -0500 Subject: [PATCH] Oops; forgot to update attrstr.h in the last commit. Also changed a TODO to a LONGTERM in opentype.c. --- common/attrstr.h | 3 +++ common/opentype.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common/attrstr.h b/common/attrstr.h index 297add10..f835a8a4 100644 --- a/common/attrstr.h +++ b/common/attrstr.h @@ -2,3 +2,6 @@ // attribute.c extern int uiprivAttributeEqual(const uiAttribute *a, const uiAttribute *b); + +// opentype.c +extern int uiprivOpenTypeFeaturesEqual(const uiOpenTypeFeatures *a, const uiOpenTypeFeatures *b); diff --git a/common/opentype.c b/common/opentype.c index 7ed1062c..335a2ad0 100644 --- a/common/opentype.c +++ b/common/opentype.c @@ -88,7 +88,7 @@ void uiOpenTypeFeaturesAdd(uiOpenTypeFeatures *otf, char a, char b, char c, char f->c = c; f->d = d; f->value = value; - // TODO qsort here is overkill + // LONGTERM qsort here is overkill otf->len++; qsort(otf->data, otf->len, sizeof (struct feature), featurecmp); }