Fix argument ordering problem in call to FcPatternTransferFullFname.

This commit is contained in:
Patrick Lam 2005-11-03 04:45:57 +00:00
parent 7358dae49b
commit ea9726b620
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-11-02 Patrick Lam <plam@mit.edu>
* src/fcpat.c (FcPatternDuplicate):
Fix argument ordering problem in call to FcPatternTransferFullFname.
2005-11-02 Patrick Lam <plam@mit.edu>
* src/fcfreetype.c (FcFreetypeQuery):
* src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,

View File

@ -1277,7 +1277,7 @@ FcPatternDuplicate (const FcPattern *orig)
FcTrue))
goto bail1;
}
FcPatternTransferFullFname (orig, new);
FcPatternTransferFullFname (new, orig);
return new;