From ea9726b620bff44d45fa25c91a8ab7d31a813577 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Thu, 3 Nov 2005 04:45:57 +0000 Subject: [PATCH] Fix argument ordering problem in call to FcPatternTransferFullFname. --- ChangeLog | 5 +++++ src/fcpat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d4e3a88..9ea0c1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-02 Patrick Lam + * src/fcpat.c (FcPatternDuplicate): + + Fix argument ordering problem in call to FcPatternTransferFullFname. + 2005-11-02 Patrick Lam * src/fcfreetype.c (FcFreetypeQuery): * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate, diff --git a/src/fcpat.c b/src/fcpat.c index 295ed02..ca75f90 100644 --- a/src/fcpat.c +++ b/src/fcpat.c @@ -1277,7 +1277,7 @@ FcPatternDuplicate (const FcPattern *orig) FcTrue)) goto bail1; } - FcPatternTransferFullFname (orig, new); + FcPatternTransferFullFname (new, orig); return new; -- 2.39.5