winemenubuilder: Do not skip entries when cleaning up file open associations.
This commit is contained in:
parent
f834d23197
commit
299d84bf2c
|
@ -2106,7 +2106,7 @@ static BOOL cleanup_associations(void)
|
|||
{
|
||||
int i;
|
||||
BOOL done = FALSE;
|
||||
for (i = 0; !done; i++)
|
||||
for (i = 0; !done;)
|
||||
{
|
||||
WCHAR *extensionW = NULL;
|
||||
DWORD size = 1024;
|
||||
|
@ -2142,6 +2142,8 @@ static BOOL cleanup_associations(void)
|
|||
hasChanged = TRUE;
|
||||
HeapFree(GetProcessHeap(), 0, desktopFile);
|
||||
}
|
||||
else
|
||||
i++;
|
||||
HeapFree(GetProcessHeap(), 0, command);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue