winemenubuilder: EnumResourceNamesW() returns false when we find the icon. So fix the corresponding misfiring trace.
This commit is contained in:
parent
67c6c24b04
commit
4dc91b7ba1
|
@ -296,7 +296,8 @@ static BOOL extract_icon32(LPCWSTR szFileName, int nIndex, const char *szXPMFile
|
|||
sEnumRes.pResInfo = &hResInfo;
|
||||
sEnumRes.nIndex = nIndex;
|
||||
if (!EnumResourceNamesW(hModule, (LPCWSTR)RT_GROUP_ICON,
|
||||
EnumResNameProc, (LONG_PTR)&sEnumRes))
|
||||
EnumResNameProc, (LONG_PTR)&sEnumRes) &&
|
||||
sEnumRes.nIndex != 0)
|
||||
{
|
||||
WINE_TRACE("EnumResourceNamesW failed, error %d\n", GetLastError());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue