Properly skip known crasher in gdi32:metafile test.
[reactos.git] / rostests / winetests / gdi32 / metafile.c
index 8cf0df0..2a80b97 100755 (executable)
@@ -1427,16 +1427,14 @@ static int compare_emf_bits(const HENHMETAFILE mf, const unsigned char *bits,
        const ENHMETARECORD *emr1 = (const ENHMETARECORD *)(bits + offset1);
        const ENHMETARECORD *emr2 = (const ENHMETARECORD *)(buf + offset2);
 
        const ENHMETARECORD *emr1 = (const ENHMETARECORD *)(bits + offset1);
        const ENHMETARECORD *emr2 = (const ENHMETARECORD *)(buf + offset2);
 
-       skip("skipping match_emf_record(), bug 5392\n");
-//     trace("%s: EMF record %u, size %u/record %u, size %u\n",
-//              desc, emr1->iType, emr1->nSize, emr2->iType, emr2->nSize);
-//        if (!match_emf_record(emr1, emr2, desc, ignore_scaling)) return -1;
-       
+#if 1
+       skip("skipping match_emf_record(), bug 5393\n");
+#else
        trace("%s: EMF record %u, size %u/record %u, size %u\n",
        trace("%s: EMF record %u, size %u/record %u, size %u\n",
-              desc, emr1->iType, emr1->nSize, emr2->iType, emr2->nSize);
-
+                desc, emr1->iType, emr1->nSize, emr2->iType, emr2->nSize);
         if (!match_emf_record(emr1, emr2, desc, ignore_scaling)) return -1;
         if (!match_emf_record(emr1, emr2, desc, ignore_scaling)) return -1;
+#endif
 
         /* We have already bailed out if iType or nSize don't match */
        offset1 += emr1->nSize;
 
         /* We have already bailed out if iType or nSize don't match */
        offset1 += emr1->nSize;