X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffcmatrix.c;h=f0c61391864040e64bca2e169a9b7be5a9c391c2;hb=HEAD;hp=7f551460c44b1b733f156748a7cbd96b3a3999a9;hpb=23816bf9acbd6cc5dd942daaba3cc084ea70d99d;p=fontconfig.git diff --git a/src/fcmatrix.c b/src/fcmatrix.c index 7f55146..f0c6139 100644 --- a/src/fcmatrix.c +++ b/src/fcmatrix.c @@ -1,5 +1,5 @@ /* - * $RCSId: $ + * fontconfig/src/fcmatrix.c * * Copyright © 2000 Tuomas J. Lukka * @@ -30,10 +30,10 @@ const FcMatrix FcIdentityMatrix = { 1, 0, 0, 1 }; FcMatrix * -FcMatrixCopy (const FcMatrix *mat) +FcMatrixCopy (const FcMatrix *mat) { FcMatrix *r; - if(!mat) + if(!mat) return 0; r = (FcMatrix *) malloc (sizeof (*r) ); if (!r) @@ -58,7 +58,7 @@ FcMatrixEqual (const FcMatrix *mat1, const FcMatrix *mat2) { if(mat1 == mat2) return FcTrue; if(mat1 == 0 || mat2 == 0) return FcFalse; - return mat1->xx == mat2->xx && + return mat1->xx == mat2->xx && mat1->xy == mat2->xy && mat1->yx == mat2->yx && mat1->yy == mat2->yy;