Commit 3fa05ae6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32/tests: Only test the lowest byte of GdiRealizationInfo flags so that the…

gdi32/tests: Only test the lowest byte of GdiRealizationInfo flags so that the test passes on Vista.
parent b18f5ee5
......@@ -2580,7 +2580,7 @@ static void test_GdiRealizationInfo(void)
memset(info, 0xcc, sizeof(info));
r = pGdiRealizationInfo(hdc, info);
ok(r != 0, "ret 0\n");
ok(info[0] == 1, "info[0] = %x for the system font\n", info[0]);
ok((info[0] & 0xf) == 1, "info[0] = %x for the system font\n", info[0]);
ok(info[3] == 0xcccccccc, "structure longer than 3 dwords\n");
if (!is_truetype_font_installed("Arial"))
......@@ -2599,7 +2599,7 @@ static void test_GdiRealizationInfo(void)
memset(info, 0xcc, sizeof(info));
r = pGdiRealizationInfo(hdc, info);
ok(r != 0, "ret 0\n");
ok(info[0] == 3, "info[0] = %x for arial\n", info[0]);
ok((info[0] & 0xf) == 3, "info[0] = %x for arial\n", info[0]);
ok(info[3] == 0xcccccccc, "structure longer than 3 dwords\n");
DeleteObject(SelectObject(hdc, hfont_old));
......
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