Commit 04763135 authored by Akira TAGOH's avatar Akira TAGOH

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.
parent 5886d98c
......@@ -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"))
......
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