From f234b68d18d956f7e4eb4bf58d6dc408d9e5146e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 17 Nov 2010 14:25:44 -0500 Subject: [PATCH] Change HB_SCRIPT_MEITEI_MAYEK to HB_SCRIPT_MEETEI_MAYEK The new name matches the Unicode name. Reported by Jonathan Kew. --- src/hb-icu.c | 2 +- src/hb-ot-tag.c | 2 +- src/hb-unicode.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-icu.c b/src/hb-icu.c index 44b92af22..97b2fa07f 100644 --- a/src/hb-icu.c +++ b/src/hb-icu.c @@ -221,7 +221,7 @@ hb_icu_get_script (hb_codepoint_t unicode) #if CHECK_ICU_VERSION (4, 4) MATCH_SCRIPT (LISU); /* Lisu */ #endif - MATCH_SCRIPT (MEITEI_MAYEK); /* Mtei */ + MATCH_SCRIPT2(MEITEI_MAYEK, MEETEI_MAYEK);/* Mtei */ #if CHECK_ICU_VERSION (4, 4) MATCH_SCRIPT (OLD_SOUTH_ARABIAN); /* Sarb */ #endif diff --git a/src/hb-ot-tag.c b/src/hb-ot-tag.c index c32580292..d774c4fd3 100644 --- a/src/hb-ot-tag.c +++ b/src/hb-ot-tag.c @@ -134,7 +134,7 @@ static const hb_tag_t ot_scripts[][3] = { {HB_TAG('j','a','v','a')}, /* HB_SCRIPT_JAVANESE */ {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_KAITHI */ {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_LISU */ - {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_MEITEI_MAYEK */ + {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_MEETEI_MAYEK */ {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_OLD_SOUTH_ARABIAN */ {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_OLD_TURKIC */ {HB_TAG('D','F','L','T')}, /* HB_SCRIPT_SAMARITAN */ diff --git a/src/hb-unicode.h b/src/hb-unicode.h index 4edab48ae..9fedd2746 100644 --- a/src/hb-unicode.h +++ b/src/hb-unicode.h @@ -168,7 +168,7 @@ typedef enum HB_SCRIPT_JAVANESE, /* Java */ HB_SCRIPT_KAITHI, /* Kthi */ HB_SCRIPT_LISU, /* Lisu */ - HB_SCRIPT_MEITEI_MAYEK, /* Mtei */ + HB_SCRIPT_MEETEI_MAYEK, /* Mtei */ HB_SCRIPT_OLD_SOUTH_ARABIAN, /* Sarb */ HB_SCRIPT_OLD_TURKIC, /* Orkh */ HB_SCRIPT_SAMARITAN, /* Samr */