Commit 30b8d046 authored by Amine Khaldi's avatar Amine Khaldi Committed by Alexandre Julliard

gdi32/test: SelectObject doesn't work with palettes, use SelectPalette instead.

parent c09f9ef4
......@@ -792,7 +792,7 @@ static void test_dibsections(void)
DeleteObject(hdib2);
SelectObject(hdcmem, oldbm);
SelectObject(hdcmem, oldpal);
SelectPalette(hdcmem, oldpal, TRUE);
DeleteObject(hdib);
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