[WINESYNC] msi: Remove duplicate condition in msi_dialog_destroy().

Signed-off-by: Andrey Gusev <[email protected]>
Signed-off-by: Hans Leidekker <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 57dd594865b002205edb4e053102241bed72bd1a by Andrey Gusev <[email protected]>
This commit is contained in:
winesync
2022-03-20 19:28:13 +01:00
committed by Mark Jansen
parent 5da3f84d5a
commit 0e4c16b13b
+2 -2
View File
@@ -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 );