mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
mapi32: Break out of the loop as soon as MSI call succeeds.
This commit is contained in:
parent
0a4f4b23cf
commit
44c3d3288c
@ -878,7 +878,10 @@ BOOL WINAPI FGetComponentPath(LPCSTR component, LPCSTR qualifier, LPSTR dll_path
|
||||
if (pMsiProvideQualifiedComponentA(component, qualifier,
|
||||
install ? INSTALLMODE_DEFAULT : INSTALLMODE_EXISTING,
|
||||
dll_path, &dll_path_length) == ERROR_SUCCESS)
|
||||
{
|
||||
ret = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
if (qualifier != lcid_ver) break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user