diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-07-13 13:28:14 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-07-13 13:28:14 +0200 |
commit | d10a264823e81631336bab37f08a52cc243d3654 (patch) | |
tree | 77c5da34c5e335bb70b15f716356990499619c62 | |
parent | 213bd693a55c04ef25f5e8de5f6feefa9473a30a (diff) |
remove NoCategory from HB_CharCategory
The enum value doesn't make sense, HB_Other_NotAssigned
should be used for unassigned characters.
-rw-r--r-- | contrib/harfbuzz-unicode-tables.c | 2 | ||||
-rw-r--r-- | src/harfbuzz-external.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/contrib/harfbuzz-unicode-tables.c b/contrib/harfbuzz-unicode-tables.c index 3c3fead..7cf6056 100644 --- a/contrib/harfbuzz-unicode-tables.c +++ b/contrib/harfbuzz-unicode-tables.c @@ -65,7 +65,7 @@ code_point_to_category(HB_UChar32 cp) { sizeof(struct category_property), category_property_cmp); if (!vprop) - return HB_NoCategory; + return HB_Other_NotAssigned; return ((const struct category_property *) vprop)->category; } diff --git a/src/harfbuzz-external.h b/src/harfbuzz-external.h index 7644f0d..5fff35f 100644 --- a/src/harfbuzz-external.h +++ b/src/harfbuzz-external.h @@ -52,8 +52,6 @@ typedef enum { typedef enum { - HB_NoCategory, - HB_Mark_NonSpacing, /* Mn */ HB_Mark_SpacingCombining, /* Mc */ HB_Mark_Enclosing, /* Me */ |