From c5255354abb0b7df259b33ce3ef18347f7c93b2c Mon Sep 17 00:00:00 2001 From: Steve Tibbett Date: Sun, 15 Aug 1999 18:52:32 +0000 Subject: [PATCH] Fixed cursor stretch code. --- objects/cursoricon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/cursoricon.c b/objects/cursoricon.c index 156573368bb..1fb4c7a9f1b 100644 --- a/objects/cursoricon.c +++ b/objects/cursoricon.c @@ -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;