Hans Leidekker : msi: Use the state parameter passed to MsiSetMode.

Alexandre Julliard julliard at winehq.org
Mon Apr 2 13:14:51 CDT 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Apr  2 13:15:33 2012 +0200

msi: Use the state parameter passed to MsiSetMode.

---

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

diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index d78e604..709f4dc 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -814,7 +814,7 @@ UINT WINAPI MsiSetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode, BOOL fState)
     switch (iRunMode)
     {
     case MSIRUNMODE_REBOOTATEND:
-        package->need_reboot_at_end = 1;
+        package->need_reboot_at_end = (fState != 0);
         r = ERROR_SUCCESS;
         break;
 




More information about the wine-cvs mailing list