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

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 57dd594865b002205edb4e053102241bed72bd1a by Andrey Gusev <andrey.goosev@gmail.com>
This commit is contained in:
winesync 2022-03-13 00:16:43 +01:00 committed by Mark Jansen
parent 5da3f84d5a
commit 0e4c16b13b
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

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 );