[Fontconfig] fontconfig: Branch 'master'
Akira TAGOH
tagoh at kemper.freedesktop.org
Tue Nov 24 18:58:23 PST 2015
test/test-bz89617.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 04763135d47ae24a808fc15c4482e2bb6f847ab9
Author: Akira TAGOH <akira at tagoh.org>
Date: Wed Nov 25 11:58:14 2015 +0900
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.
diff --git a/test/test-bz89617.c b/test/test-bz89617.c
index 587214a..35df885 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"))
More information about the Fontconfig
mailing list