mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user