Fix to work the debugging option on fc-validate
This commit is contained in:
parent
5efa1137b4
commit
ee609da358
|
@ -188,6 +188,9 @@ FcLangNormalize (const FcChar8 *lang)
|
||||||
if (!lang || !*lang)
|
if (!lang || !*lang)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
/* might be called without initialization */
|
||||||
|
FcInitDebug ();
|
||||||
|
|
||||||
if (FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C") == 0 ||
|
if (FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C") == 0 ||
|
||||||
FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.UTF-8") == 0 ||
|
FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.UTF-8") == 0 ||
|
||||||
FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.utf8") == 0 ||
|
FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.utf8") == 0 ||
|
||||||
|
|
Loading…
Reference in New Issue