Module: wine Branch: master Commit: d79943446f23b22fd6e3c3f9139e7c1567fc80bd URL: http://source.winehq.org/git/wine.git/?a=commit;h=d79943446f23b22fd6e3c3f913... Author: Huw Davies <huw(a)codeweavers.com> Date: Wed Jul 1 12:03:04 2009 +0100 gdi32/tests: Dump the correct metafile if the test fails. --- 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 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);