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

winemenubuilder: Use proper marker (negative index) for unused icon slot.

parent b0ba7c76
......@@ -1150,7 +1150,7 @@ static HRESULT platform_write_icon(IStream *icoStream, int exeIndex, LPCWSTR ico
for (i = CLASSIC_SLOT+1; i < ICNS_SLOTS; i++)
if (best[i].index >= 0 && !best[i].scaled)
{
best[CLASSIC_SLOT].index = 0;
best[CLASSIC_SLOT].index = -1;
break;
}
}
......
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