gdi32/test: SelectObject doesn't work with palettes, use SelectPalette instead.
This commit is contained in:
parent
c09f9ef498
commit
30b8d046ba
|
@ -792,7 +792,7 @@ static void test_dibsections(void)
|
||||||
DeleteObject(hdib2);
|
DeleteObject(hdib2);
|
||||||
|
|
||||||
SelectObject(hdcmem, oldbm);
|
SelectObject(hdcmem, oldbm);
|
||||||
SelectObject(hdcmem, oldpal);
|
SelectPalette(hdcmem, oldpal, TRUE);
|
||||||
DeleteObject(hdib);
|
DeleteObject(hdib);
|
||||||
DeleteObject(hpal);
|
DeleteObject(hpal);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue