Commit c5255354 authored by Steve Tibbett's avatar Steve Tibbett Committed by Alexandre Julliard

Fixed cursor stretch code.

parent 0a1645d9
......@@ -512,7 +512,7 @@ static HGLOBAL16 CURSORICON_CreateFromResource( HINSTANCE16 hInstance, HGLOBAL16
/* Create the XOR bitmap */
if (DoStretch) {
if ((hXorBits = CreateCompatibleBitmap(hdc, width, height))) {
if ((hXorBits = CreateBitmap(width, height, 1, 1, NULL))) {
HBITMAP hOld;
HDC hMem = CreateCompatibleDC(hdc);
BOOL res;
......
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