From 9a8e812477bd65d2ecfa721819d0555289520401 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 24 Jul 2014 15:37:51 -0400 Subject: [PATCH] Use lang=und instead of lang=xx for "undetermined" That's the correct BCP 47 code. --- src/fcfreetype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 9740a14..000b101 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -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; }