Fix language extension matching
This commit is contained in:
parent
a07874300a
commit
ba9ab8d6d9
|
@ -631,7 +631,7 @@ hb_ot_tag_from_language (hb_language_t language)
|
||||||
|
|
||||||
lang_str = hb_language_to_string (language);
|
lang_str = hb_language_to_string (language);
|
||||||
|
|
||||||
if (0 == strcmp (lang_str, "x-hbot")) {
|
if (0 == strncmp (lang_str, "x-hbot", 6)) {
|
||||||
char tag[4];
|
char tag[4];
|
||||||
int i;
|
int i;
|
||||||
lang_str += 6;
|
lang_str += 6;
|
||||||
|
|
Loading…
Reference in New Issue