gdi32/tests: Fix false pass in warn+heap case.

This commit is contained in:
Dan Kegel 2007-10-23 12:11:22 -07:00 committed by Alexandre Julliard
parent 912c3e609b
commit f4b0cf5f5b

View File

@ -1496,7 +1496,8 @@ static void test_text_metrics(const LOGFONTA *lf)
ok(hfont2 != 0, "CreateFontIndirect error %u\n", GetLastError());
hfont_prev = SelectObject(hdc, hfont2);
memset(&gm1, 0xaa, sizeof(gm1));
/* filling with 0xaa causes false pass under WINEDEBUG=warn+heap */
memset(&gm1, 0xab, sizeof(gm1));
SetLastError(0xdeadbeef);
ret = GetGlyphOutlineA(hdc, 'x', GGO_METRICS, &gm1, 0, NULL, &mat2);
ok(ret != GDI_ERROR, "GetGlyphOutline error 0x%x\n", GetLastError());