This commit is contained in:
Behdad Esfahbod 2013-01-01 20:27:54 -06:00
parent 8198127b25
commit a498f2f717
1 changed files with 1 additions and 1 deletions

View File

@ -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;