Commit 57dd5948 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

msi: Remove duplicate condition in msi_dialog_destroy().

parent e70c4846
......@@ -4129,10 +4129,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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment