mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 00:41:36 +00:00
[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:
parent
5da3f84d5a
commit
0e4c16b13b
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue