Commit e6a558ad authored by Drew Ronneberg's avatar Drew Ronneberg Committed by Alexandre Julliard

winemenubuilder: Prevent recursion by calling open_module_icon() instead of open_icon()

parent f1aea67d
......@@ -1028,13 +1028,13 @@ static HRESULT open_file_type_icon(LPCWSTR szFileName, IStream **ppStream)
*comma = 0;
index = atoiW(comma + 1);
}
hr = open_icon(icon, index, FALSE, ppStream);
hr = open_module_icon(icon, index, ppStream);
}
else
{
executable = assoc_query(ASSOCSTR_EXECUTABLE, extension, openW);
if (executable)
hr = open_icon(executable, 0, FALSE, ppStream);
hr = open_module_icon(executable, 0, ppStream);
}
end:
......
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