gdi32: Fix a failing test in win9x.

This commit is contained in:
James Hawkins 2008-09-02 22:50:14 -05:00 committed by Alexandre Julliard
parent 4490de3528
commit 5468f40ab8
1 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,9 @@ static void test_DIB_PAL_COLORS(void) {
SetPixel( memhdc, 0, 0, setColor );
chkColor = RGB( logpalettedata[3].peRed, logpalettedata[3].peGreen, logpalettedata[3].peBlue );
getColor = GetPixel( memhdc, 0, 0 );
ok( getColor == chkColor, "getColor=%08X\n", (UINT)getColor );
ok( getColor == chkColor ||
broken(getColor == 0), /* win9x */
"getColor=%08X\n", (UINT)getColor );
SelectPalette( memhdc, hpalOld, FALSE );
DeleteObject( hpal );