Fixed cursor stretch code.
This commit is contained in:
parent
0a1645d9a3
commit
c5255354ab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue