Commit 1b1bf2be authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

Fixed bug in DrawIconEx32().

parent a62e129d
......@@ -1679,7 +1679,7 @@ BOOL32 WINAPI DrawIconEx32( HDC32 hdc, INT32 x0, INT32 y0, HICON32 hIcon,
(char *)(ptr + 1)
+ ptr->nHeight *
BITMAP_WIDTH_BYTES(ptr->nWidth,1) );
hAndBits = CreateBitmap32 ( cxWidth, cyWidth,
hAndBits = CreateBitmap32 ( ptr->nWidth, ptr->nHeight,
1, 1, (char *)(ptr+1) );
oldFg = SetTextColor32( hdc, RGB(0,0,0) );
oldBg = SetBkColor32( hdc, RGB(255,255,255) );
......
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