projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a078743
)
Fix language extension matching
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 10 Jan 2011 12:45:41 +0000
(07:45 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 10 Jan 2011 12:45:41 +0000
(07:45 -0500)
src/hb-ot-tag.c
patch
|
blob
|
history
diff --git
a/src/hb-ot-tag.c
b/src/hb-ot-tag.c
index f3e0f1f472e1ca2799ee4dc63c89ec355435996f..426fff7dea0853febf365d5451a7fde91eb26d0d 100644
(file)
--- 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 == str
cmp (lang_str, "x-hbot"
)) {
+ if (0 == str
ncmp (lang_str, "x-hbot", 6
)) {
char tag[4];
int i;
lang_str += 6;