Commit 6e4b960a authored by Jean-Philippe Theriault's avatar Jean-Philippe Theriault Committed by Alexandre Julliard

gdi32: Fix for PlayEnhMetaFileRecord support of EMR_SELECTPALETTE record.

parent 69804258
......@@ -1162,7 +1162,6 @@ BOOL WINAPI PlayEnhMetaFileRecord(
if( lpSelectPal->ihPal & 0x80000000 ) {
SelectPalette( hdc, GetStockObject(lpSelectPal->ihPal & 0x7fffffff), TRUE);
} else {
(handletable->objectHandle)[ lpSelectPal->ihPal ] =
SelectPalette( hdc, (handletable->objectHandle)[lpSelectPal->ihPal], TRUE);
}
break;
......
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