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

This commit is contained in:
Ken Thomases 2012-10-19 23:59:29 -05:00 committed by Alexandre Julliard
parent b0ba7c765e
commit 2600705695
1 changed files with 1 additions and 1 deletions

View File

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