projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e61eba9
)
Fix stupid bug in FcFontSort()
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 22 Jun 2011 17:06:19 +0000
(13:06 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 22 Jun 2011 17:06:19 +0000
(13:06 -0400)
I broke FcFontSort() language handling at the end of 2008 with this
commit:
c7641f28
G-d knows how many of the lang-matching bugs in bugzilla will be
fixed by this changed...
I'm really sorry, everyone!
src/fcmatch.c
patch
|
blob
|
history
diff --git
a/src/fcmatch.c
b/src/fcmatch.c
index
f111be5
..
1b9162b
100644
(file)
--- a/
src/fcmatch.c
+++ b/
src/fcmatch.c
@@
-749,7
+749,7
@@
FcFontSetSort (FcConfig *config,
* If this node matches any language, go check
* which ones and satisfy those entries
*/
- if (nodeps[f]->score[MATCH_LANG_INDEX] < 200)
+ if (nodeps[f]->score[MATCH_LANG_INDEX] < 200
0
)
{
for (i = 0; i < nPatternLang; i++)
{