Commit d7994344 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32/tests: Dump the correct metafile if the test fails.

parent 470e8fe2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment