diff options
author | Akira TAGOH <akira@tagoh.org> | 2019-07-02 04:59:52 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2019-07-02 04:59:52 +0000 |
commit | 322131f4330f972820fd903959999af9360120c0 (patch) | |
tree | cfc66d014b89e648c5bcc344151f78ee2bda4249 /src/fcfreetype.c | |
parent | 83840fd1faad3f28760f7cf3f0467d15afa71132 (diff) | |
download | fontconfig-322131f4330f972820fd903959999af9360120c0.tar.gz |
Fix a crash when running with FC_DEBUG=256
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/167
Diffstat (limited to 'src/fcfreetype.c')
-rw-r--r-- | src/fcfreetype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index d528544..2f86d8a 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -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) continue; |