Use lang=und instead of lang=xx for "undetermined"

That's the correct BCP 47 code.
This commit is contained in:
Behdad Esfahbod 2014-07-24 15:37:51 -04:00
parent 76151ceaf3
commit 9a8e812477
1 changed files with 2 additions and 2 deletions

View File

@ -1446,10 +1446,10 @@ FcFreeTypeQueryFace (const FT_Face face,
free (utf8);
if (lang)
{
/* pad lang list with 'xx' to line up with elt */
/* pad lang list with 'und' to line up with elt */
while (*nlangp < *np)
{
if (!FcPatternAddString (pat, eltlang, (FcChar8 *) "xx"))
if (!FcPatternAddString (pat, eltlang, (FcChar8 *) "und"))
goto bail1;
++*nlangp;
}