From 440a76b630a36a7336c93e8b05d988c6407b085e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 20 Apr 2011 14:20:00 -0400 Subject: [PATCH] [OT] Fix script to ot-script-tag conversion --- src/hb-ot-tag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-tag.c b/src/hb-ot-tag.c index ecc188249..f7e8c9589 100644 --- a/src/hb-ot-tag.c +++ b/src/hb-ot-tag.c @@ -52,7 +52,7 @@ hb_ot_old_tag_from_script (hb_script_t script) } /* Else, just change first char to lowercase and return */ - return ((hb_tag_t) script) | 0x02000000; + return ((hb_tag_t) script) | 0x20000000; } static hb_script_t @@ -73,7 +73,7 @@ hb_ot_old_tag_to_script (hb_tag_t tag) } /* Else, just change first char to uppercase and return */ - return (hb_script_t) (tag & ~0x02000000); + return (hb_script_t) (tag & ~0x20000000); } static hb_tag_t