summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2015-11-25 11:58:14 +0900
committerAkira TAGOH <akira@tagoh.org>2015-11-25 11:58:14 +0900
commit04763135d47ae24a808fc15c4482e2bb6f847ab9 (patch)
tree9cd63002797b7271e89a36913db139c6307cb4fc /test
parent5886d98c368cdb76ddedc48aedbab45a5c7e96f6 (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/test-bz89617.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-bz89617.c b/test/test-bz89617.c
index 587214a7..35df8852 100644
--- a/test/test-bz89617.c
+++ b/test/test-bz89617.c
@@ -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"))