https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0e4c16b13bc6920311f3a…
commit 0e4c16b13bc6920311f3a2bf477d5335b5eef8ef
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 00:16:43 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:13 2022 +0100
[WINESYNC] msi: Remove duplicate condition in msi_dialog_destroy().
Signed-off-by: Andrey Gusev <andrey.goosev(a)gmail.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 57dd594865b002205edb4e053102241bed72bd1a by Andrey Gusev
<andrey.goosev(a)gmail.com>
---
dll/win32/msi/dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/msi/dialog.c b/dll/win32/msi/dialog.c
index c09d3d1c695..864f488d9c1 100644
--- a/dll/win32/msi/dialog.c
+++ b/dll/win32/msi/dialog.c
@@ -4132,10 +4132,10 @@ void msi_dialog_destroy( msi_dialog *dialog )
}
if( dialog->hwnd )
+ {
ShowWindow( dialog->hwnd, SW_HIDE );
-
- if( dialog->hwnd )
DestroyWindow( dialog->hwnd );
+ }
/* unsubscribe events */
event_cleanup_subscriptions( dialog->package, dialog->name );