msi: Break out of the loop as soon as the assembly is detected in msi_load_assembly.
authorHans Leidekker <hans@codeweavers.com>
Thu, 17 May 2012 08:17:16 +0000 (10:17 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 17 May 2012 15:21:25 +0000 (17:21 +0200)
dlls/msi/assembly.c

index 712bb23..c188d55 100644 (file)
@@ -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;
                 }
             }
         }