[HarfBuzz] harfbuzz-ng: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Jan 10 04:45:56 PST 2011


 src/hb-ot-tag.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba9ab8d6d9c863662c4b44ace4a4d89e29e592f2
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Jan 10 07:45:41 2011 -0500

    Fix language extension matching

diff --git a/src/hb-ot-tag.c b/src/hb-ot-tag.c
index f3e0f1f..426fff7 100644
--- a/src/hb-ot-tag.c
+++ b/src/hb-ot-tag.c
@@ -631,7 +631,7 @@ hb_ot_tag_from_language (hb_language_t 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];
     int i;
     lang_str += 6;



More information about the HarfBuzz mailing list