We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8cfa4 commit 18fc5a1Copy full SHA for 18fc5a1
win32ss/user/user32/windows/cursoricon.c
@@ -1622,7 +1622,7 @@ CURSORICON_LoadFromFileW(
1622
DWORD filesize = 0, BmpIconSize;
1623
PBYTE bits, pbBmpIcon = NULL;
1624
HANDLE hCurIcon = NULL;
1625
- CURSORDATA cursorData;
+ CURSORDATA cursorData = { 0 };
1626
1627
TRACE("loading %s\n", debugstr_w( lpszName ));
1628
@@ -1646,7 +1646,6 @@ CURSORICON_LoadFromFileW(
1646
if(!cxDesired) cxDesired = entry->bWidth;
1647
if(!cyDesired) cyDesired = entry->bHeight;
1648
/* A bit of preparation */
1649
- ZeroMemory(&cursorData, sizeof(cursorData));
1650
if(!bIcon)
1651
{
1652
cursorData.xHotspot = entry->xHotspot;
0 commit comments