Michael Stefaniuc : gdi32/tests: Fix typo (comparison with itself).
Alexandre Julliard
julliard at winehq.org
Mon Apr 16 13:35:45 CDT 2012
Module: wine
Branch: master
Commit: 7f293b00e874d51cf155938baebcb1f48c515173
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f293b00e874d51cf155938baebcb1f48c515173
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sun Apr 15 21:57:27 2012 +0200
gdi32/tests: Fix typo (comparison with itself).
---
dlls/gdi32/tests/metafile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/tests/metafile.c b/dlls/gdi32/tests/metafile.c
index 0bbf9c3..df263c3 100644
--- a/dlls/gdi32/tests/metafile.c
+++ b/dlls/gdi32/tests/metafile.c
@@ -1640,7 +1640,7 @@ static BOOL match_emf_record(const ENHMETARECORD *emr1, const ENHMETARECORD *emr
eto1 = (EMRPOLYBEZIER16*)emr1;
eto2 = (EMRPOLYBEZIER16*)emr2;
- diff = eto1->cpts != eto1->cpts;
+ diff = eto1->cpts != eto2->cpts;
if(!diff)
diff = memcmp(eto1->apts, eto2->apts, eto1->cpts * sizeof(POINTS));
}
@@ -1651,7 +1651,7 @@ static BOOL match_emf_record(const ENHMETARECORD *emr1, const ENHMETARECORD *emr
eto1 = (EMRPOLYBEZIER*)emr1;
eto2 = (EMRPOLYBEZIER*)emr2;
- diff = eto1->cptl != eto1->cptl;
+ diff = eto1->cptl != eto2->cptl;
if(!diff)
diff = memcmp(eto1->aptl, eto2->aptl, eto1->cptl * sizeof(POINTL));
}
More information about the wine-cvs
mailing list