X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=blobdiff_plain;f=src%2Ffcmatch.c;h=4d20a61fc9b7f09d702f4bb8641b69dee8ff9386;hp=ac63fbef6e9c3d1bb392041d0990c1cb8f54b23e;hb=c7641f28;hpb=1b43ccc805f26a78934267d92275cd19b5648e91 diff --git a/src/fcmatch.c b/src/fcmatch.c index ac63fbe..4d20a61 100644 --- a/src/fcmatch.c +++ b/src/fcmatch.c @@ -328,7 +328,7 @@ FcCompareValueList (FcObject object, *result = FcResultTypeMismatch; return FcFalse; } - v = v * 100 + j; + v = v * 1000 + j; if (v < best) { if (bestValue) @@ -768,7 +768,7 @@ FcFontSetSort (FcConfig *config, } } if (!satisfies) - nodeps[f]->score[MATCH_LANG_INDEX] = 1000.0; + nodeps[f]->score[MATCH_LANG_INDEX] = 10000.0; } /*