Fix stupid bug in FcFontSort()

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!
This commit is contained in:
Behdad Esfahbod 2011-06-22 13:06:19 -04:00
parent e61eba94ef
commit bf3bfa72d9
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ FcFontSetSort (FcConfig *config,
* If this node matches any language, go check * If this node matches any language, go check
* which ones and satisfy those entries * which ones and satisfy those entries
*/ */
if (nodeps[f]->score[MATCH_LANG_INDEX] < 200) if (nodeps[f]->score[MATCH_LANG_INDEX] < 2000)
{ {
for (i = 0; i < nPatternLang; i++) for (i = 0; i < nPatternLang; i++)
{ {