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:
parent
5886d98c36
commit
04763135d4
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue