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:
|
||||
HeapFree(GetProcessHeap(), 0, iconDirEntries);
|
||||
if (SUCCEEDED(hr))
|
||||
*nativeIdentifier = icnsPath;
|
||||
else
|
||||
HeapFree(GetProcessHeap(), 0, icnsPath);
|
||||
HeapFree(GetProcessHeap(), 0, icnsPath);
|
||||
return hr;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue