[Fontconfig] fontconfig: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Jan 1 18:28:00 PST 2013


 src/fcname.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a498f2f717a73c3fff9784dd92173583fb37a596
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Jan 1 20:27:54 2013 -0600

    Minor

diff --git a/src/fcname.c b/src/fcname.c
index 0cdbd42..3f63534 100644
--- a/src/fcname.c
+++ b/src/fcname.c
@@ -595,7 +595,7 @@ FcNameConvert (FcType type, FcChar8 *string)
 	v.u.d = strtod ((char *) string, 0);
 	break;
     case FcTypeMatrix:
-	m.xx = m.yy = 1.; m.xy = m.yx = 0.;
+	FcMatrixInit (&m);
 	sscanf ((char *) string, "%lg %lg %lg %lg", &m.xx, &m.xy, &m.yx, &m.yy);
 	v.u.m = FcMatrixCopy (&m);
 	break;


More information about the Fontconfig mailing list