Avoid an error message on testing when no fonts.conf installed

This test case doesn't require any config files so no need to ensure loading them.
This commit is contained in:
Akira TAGOH 2015-11-25 11:58:14 +09:00
parent 5886d98c36
commit 04763135d4
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
int
main (void)
{
FcConfig *config = FcConfigGetCurrent ();
FcConfig *config = FcConfigCreate ();
if (!FcConfigAppFontAddFile (config, (const FcChar8 *)SRCDIR "/4x6.pcf") ||
FcConfigAppFontAddFile (config, (const FcChar8 *)"/dev/null"))