mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:52:59 +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
1 changed files with 2 additions and 2 deletions
|
@ -4132,10 +4132,10 @@ void msi_dialog_destroy( msi_dialog *dialog )
|
||||||
}
|
}
|
||||||
|
|
||||||
if( dialog->hwnd )
|
if( dialog->hwnd )
|
||||||
|
{
|
||||||
ShowWindow( dialog->hwnd, SW_HIDE );
|
ShowWindow( dialog->hwnd, SW_HIDE );
|
||||||
|
|
||||||
if( dialog->hwnd )
|
|
||||||
DestroyWindow( dialog->hwnd );
|
DestroyWindow( dialog->hwnd );
|
||||||
|
}
|
||||||
|
|
||||||
/* unsubscribe events */
|
/* unsubscribe events */
|
||||||
event_cleanup_subscriptions( dialog->package, dialog->name );
|
event_cleanup_subscriptions( dialog->package, dialog->name );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue