src/fclang.c | 3 +++ 1 file changed, 3 insertions(+) New commits: commit ee609da3582f46151dd86b30d473833067e83c39 Author: Akira TAGOH <akira@xxxxxxxxx> Date: Tue Aug 22 20:30:34 2017 +0900 Fix to work the debugging option on fc-validate diff --git a/src/fclang.c b/src/fclang.c index bbdce2c..107addb 100644 --- a/src/fclang.c +++ b/src/fclang.c @@ -188,6 +188,9 @@ FcLangNormalize (const FcChar8 *lang) if (!lang || !*lang) return NULL; + /* might be called without initialization */ + FcInitDebug (); + if (FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C") == 0 || FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.UTF-8") == 0 || FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.utf8") == 0 || _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig