winemenubuilder: Use proper marker (negative index) for unused icon slot.
This commit is contained in:
parent
b0ba7c765e
commit
2600705695
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue