mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 15:41:10 +00:00
winemenubuilder: Return the icon identifier instead of the full path on Mac OS X too.
This commit is contained in:
parent
712b3571be
commit
ed04a730f9
|
@ -1223,10 +1223,7 @@ static HRESULT platform_write_icon(IStream *icoStream, int exeIndex, LPCWSTR ico
|
||||||
|
|
||||||
end:
|
end:
|
||||||
HeapFree(GetProcessHeap(), 0, iconDirEntries);
|
HeapFree(GetProcessHeap(), 0, iconDirEntries);
|
||||||
if (SUCCEEDED(hr))
|
HeapFree(GetProcessHeap(), 0, icnsPath);
|
||||||
*nativeIdentifier = icnsPath;
|
|
||||||
else
|
|
||||||
HeapFree(GetProcessHeap(), 0, icnsPath);
|
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue