1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

Fixed cursor stretch code.

This commit is contained in:
Steve Tibbett 1999-08-15 18:52:32 +00:00 committed by Alexandre Julliard
parent 0a1645d9a3
commit c5255354ab

View file

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