Skip to content
Snippets Groups Projects
Commit c5255354 authored by Steve Tibbett's avatar Steve Tibbett Committed by Alexandre Julliard
Browse files

Fixed cursor stretch code.

parent 0a1645d9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment