Commit eb409390 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemenubuilder: On Mac, ignore non-square icon entries.

parent 3a5e6c43
......@@ -867,6 +867,8 @@ static HRESULT platform_write_icon(IStream *icoStream, int exeIndex, LPCWSTR ico
int height = iconDirEntries[i].bHeight ? iconDirEntries[i].bHeight : 256;
WINE_TRACE("[%d]: %d x %d @ %d\n", i, width, height, iconDirEntries[i].wBitCount);
if (height != width)
continue;
slot = size_to_slot(width);
if (slot < 0)
continue;
......
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