winemenubuilder: Return the icon identifier instead of the full path on Mac OS X too.

This commit is contained in:
Francois Gouget 2012-11-01 23:21:00 +01:00 committed by Alexandre Julliard
parent 712b3571be
commit ed04a730f9
1 changed files with 1 additions and 4 deletions

View File

@ -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