Commit ed04a730 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 712b3571
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment