gdi32: Remove a duplicated line of code.

This commit is contained in:
Dmitry Timoshkov 2011-11-09 12:50:27 +08:00 committed by Alexandre Julliard
parent 5d3328d511
commit 6acf226fa1
1 changed files with 1 additions and 4 deletions

View File

@ -287,10 +287,7 @@ static void test_palette_brush(void)
DWORD expect = (pal->palPalEntry[255 - i].peRed << 16 |
pal->palPalEntry[255 - i].peGreen << 8 |
pal->palPalEntry[255 - i].peBlue);
if (expect)
ok( dib_bits[i] == expect, "wrong bits %x/%x at %u,%u\n", dib_bits[i], expect, i % 16, i / 16 );
else
ok( dib_bits[i] == expect, "wrong bits %x/%x at %u,%u\n", dib_bits[i], expect, i % 16, i / 16 );
ok( dib_bits[i] == expect, "wrong bits %x/%x at %u,%u\n", dib_bits[i], expect, i % 16, i / 16 );
}
DeleteDC( hdc );
DeleteObject( dib );