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

This commit is contained in:
Amine Khaldi 2011-04-24 17:42:35 +01:00 committed by Alexandre Julliard
parent c09f9ef498
commit 30b8d046ba
1 changed files with 1 additions and 1 deletions

View File

@ -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);