Commit 5468f40a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

gdi32: Fix a failing test in win9x.

parent 4490de35
...@@ -110,7 +110,9 @@ static void test_DIB_PAL_COLORS(void) { ...@@ -110,7 +110,9 @@ static void test_DIB_PAL_COLORS(void) {
SetPixel( memhdc, 0, 0, setColor ); SetPixel( memhdc, 0, 0, setColor );
chkColor = RGB( logpalettedata[3].peRed, logpalettedata[3].peGreen, logpalettedata[3].peBlue ); chkColor = RGB( logpalettedata[3].peRed, logpalettedata[3].peGreen, logpalettedata[3].peBlue );
getColor = GetPixel( memhdc, 0, 0 ); 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 ); SelectPalette( memhdc, hpalOld, FALSE );
DeleteObject( hpal ); DeleteObject( hpal );
......
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