No subject

wine-devel at winehq.org wine-devel at winehq.org
Wed Jul 1 06:17:23 CDT 2009


rom 386081b6a58799d1b46e701de14719129ec94cb1 Mon Sep 17 00:00:00 2001
From: Huw Davies <huw at codeweavers.com>
Date: Wed, 1 Jul 2009 12:03:04 +0100
Subject: [PATCH 2/2] gdi32/tests: Dump the correct metafile if the test fails.
To: wine-patches <wine-patches at winehq.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.5.4.3"

This is a multi-part message in MIME format.
--------------1.5.4.3
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
 dlls/gdi32/tests/metafile.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
--------------1.5.4.3
Content-Type: text/x-patch; name="386081b6a58799d1b46e701de14719129ec94cb1.diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="386081b6a58799d1b46e701de14719129ec94cb1.diff"

diff --git a/dlls/gdi32/tests/metafile.c b/dlls/gdi32/tests/metafile.c
index 4cc7ca4..2b695d8 100644
--- a/dlls/gdi32/tests/metafile.c
+++ b/dlls/gdi32/tests/metafile.c
@@ -1457,8 +1457,8 @@ static void test_CopyMetaFile(void)
 
     if (compare_mf_disk_bits(mf_name, MF_BLANK_BITS, sizeof(MF_BLANK_BITS), "mf_blank") != 0)
     {
-        dump_mf_bits(hMetafile, "mf_Blank");
-        EnumMetaFile(0, hMetafile, mf_enum_proc, 0);
+        dump_mf_bits(hmf_copy, "mf_Blank");
+        EnumMetaFile(0, hmf_copy, mf_enum_proc, 0);
     }
 
     ret = DeleteMetaFile(hmf_copy);

--------------1.5.4.3--




More information about the wine-patches mailing list