Dmitry Timoshkov : mapi32:
Break out of the loop as soon as MSI call succeeds.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 26 05:42:13 CDT 2006
Module: wine
Branch: master
Commit: 44c3d3288cb1b8154e8a16f16ec2576c5844082f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=44c3d3288cb1b8154e8a16f16ec2576c5844082f
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Fri May 26 13:35:47 2006 +0900
mapi32: Break out of the loop as soon as MSI call succeeds.
---
dlls/mapi32/util.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mapi32/util.c b/dlls/mapi32/util.c
index d3184c6..9d75f14 100644
--- a/dlls/mapi32/util.c
+++ b/dlls/mapi32/util.c
@@ -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-cvs
mailing list