summaryrefslogtreecommitdiff
blob: ca313024870eac0e502826f449f83301715e4999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
fix from upstream

http://bugs.gentoo.org/363367

# HG changeset patch
# User tabe
# Date 1239812355 0
# Node ID 3ea283efcdafcb2acc1dd0ace1d3d48da6d8cec8
# Parent  4f29a877875f63cee5a64e7bea406a61882a565e
fixed FS#199

199, Fixed useFontConfig() to work as documented (Ethan Merritt)
 
diff -r 4f29a877875f -r 3ea283efcdaf src/gdft.c
--- a/src/gdft.c	Sat Apr 04 12:00:37 2009 +0000
+++ b/src/gdft.c	Wed Apr 15 16:19:15 2009 +0000
@@ -1688,7 +1688,7 @@
 BGD_DECLARE(int) gdFTUseFontConfig(int flag)
 {
 #ifdef HAVE_LIBFONTCONFIG
-	fontConfigFlag = 1;
+	fontConfigFlag = flag;
 	return 1;
 #else
 	return 0;