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;
|
int i;
|
||||||
BOOL done = FALSE;
|
BOOL done = FALSE;
|
||||||
for (i = 0; !done; i++)
|
for (i = 0; !done;)
|
||||||
{
|
{
|
||||||
WCHAR *extensionW = NULL;
|
WCHAR *extensionW = NULL;
|
||||||
DWORD size = 1024;
|
DWORD size = 1024;
|
||||||
|
@ -2142,6 +2142,8 @@ static BOOL cleanup_associations(void)
|
||||||
hasChanged = TRUE;
|
hasChanged = TRUE;
|
||||||
HeapFree(GetProcessHeap(), 0, desktopFile);
|
HeapFree(GetProcessHeap(), 0, desktopFile);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
i++;
|
||||||
HeapFree(GetProcessHeap(), 0, command);
|
HeapFree(GetProcessHeap(), 0, command);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue