Hans Leidekker : msi: Break out of the loop as soon as the assembly is detected in msi_load_assembly .

Alexandre Julliard julliard at winehq.org
Thu May 17 13:46:00 CDT 2012


Module: wine
Branch: master
Commit: 11daa6aad516e044e96e426c5b89ef26445ffd3c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=11daa6aad516e044e96e426c5b89ef26445ffd3c

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu May 17 10:17:16 2012 +0200

msi: Break out of the loop as soon as the assembly is detected in msi_load_assembly.

---

 dlls/msi/assembly.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/assembly.c b/dlls/msi/assembly.c
index 712bb23..c188d55 100644
--- a/dlls/msi/assembly.c
+++ b/dlls/msi/assembly.c
@@ -347,6 +347,7 @@ MSIASSEMBLY *msi_load_assembly( MSIPACKAGE *package, MSICOMPONENT *comp )
                 {
                     TRACE("runtime version %s\n", debugstr_w(get_clr_version_str( i )));
                     a->installed = TRUE;
+                    break;
                 }
             }
         }




More information about the wine-cvs mailing list