MAPI32: Break out of the loop as soon as MSI call succeeds
Dmitry Timoshkov
dmitry at codeweavers.com
Thu May 25 23:35:47 CDT 2006
Hello,
Changelog:
MAPI32: Break out of the loop as soon as MSI call succeeds.
--- cvs/hq/wine/dlls/mapi32/util.c 2006-05-26 11:52:28.000000000 +0900
+++ wine/dlls/mapi32/util.c 2006-05-26 12:01:50.000000000 +0900
@@ -878,7 +878,10 @@ BOOL WINAPI FGetComponentPath(LPCSTR com
if (pMsiProvideQualifiedComponentA(component, qualifier,
install ? INSTALLMODE_DEFAULT : INSTALLMODE_EXISTING,
dll_path, &dll_path_length) == ERROR_SUCCESS)
+ {
ret = TRUE;
+ break;
+ }
if (qualifier != lcid_ver) break;
}
More information about the wine-patches
mailing list