oleaut32: Explicitly initialize idReserved field in the icon directory header.
This commit is contained in:
parent
c1136218e2
commit
4c88239742
|
@ -1642,6 +1642,7 @@ static int serializeIcon(HICON hIcon, void ** ppBuffer, unsigned int * pLength)
|
|||
pIconDir = (CURSORICONFILEDIR *)pIconData;
|
||||
pIconDir->idType = 1;
|
||||
pIconDir->idCount = 1;
|
||||
pIconDir->idReserved = 0;
|
||||
|
||||
/* Fill out the CURSORICONFILEDIRENTRY */
|
||||
pIconEntry = (CURSORICONFILEDIRENTRY *)(pIconData + 3 * sizeof(WORD));
|
||||
|
|
Loading…
Reference in New Issue