projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
602e4f8
)
Fix bug in hb_language_from_string()
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 29 Apr 2010 06:58:38 +0000
(
02:58
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 29 Apr 2010 06:58:38 +0000
(
02:58
-0400)
Reported by Jonathan Kew.
src/hb-language.c
patch
|
blob
|
history
diff --git
a/src/hb-language.c
b/src/hb-language.c
index
ff25d7b
..
5d7286b
100644
(file)
--- a/
src/hb-language.c
+++ b/
src/hb-language.c
@@
-102,6
+102,8
@@
hb_language_from_string (const char *str)
for (p = (unsigned char *) langs[i]; *p; p++)
*p = canon_map[*p];
+ num_langs++;
+
return (hb_language_t) langs[i];
}