Commit 299d84bf authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

winemenubuilder: Do not skip entries when cleaning up file open associations.

parent f834d231
......@@ -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
......
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