Commit 322131f4 authored by Akira TAGOH's avatar Akira TAGOH
Browse files

Fix a crash when running with FC_DEBUG=256

Fixes fontconfig/fontconfig#167
parent 83840fd1
......@@ -1546,7 +1546,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
lang = FcSfntNameLanguage (&sname);
if (FcDebug () & FC_DBG_SCANV)
printf ("%s\n", utf8);
printf ("%s\n", utf8 ? (char *)utf8 : "(null)");
if (!utf8)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment