From: Rafaël Carré Date: Sun, 20 Apr 2008 15:38:33 +0000 (+0200) Subject: Fix ddf73ca0199b45de2b8b924a131df3922e5d48b5 : the window were never destroyed X-Git-Tag: 0.9.0-test0~1396 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fb388c4667e28c606b15ba42f76fbde6fdaa173b;hp=4ca10a40fdfd35ad150d436f1b31affac078a2a2;p=vlc Fix ddf73ca0199b45de2b8b924a131df3922e5d48b5 : the window were never destroyed --- diff --git a/modules/gui/macosx/interaction.m b/modules/gui/macosx/interaction.m index aa077f501d..5501e583da 100644 --- a/modules/gui/macosx/interaction.m +++ b/modules/gui/macosx/interaction.m @@ -307,7 +307,7 @@ msg_Dbg( p_intf, "hide event %p", self ); if( p_dialog->i_flags & DIALOG_USER_PROGRESS ) { - if(![o_prog_win isVisible]) + if([o_prog_win isVisible]) { [NSApp endSheet: o_prog_win]; [o_prog_win close]; @@ -315,7 +315,7 @@ } if( p_dialog->i_flags & DIALOG_LOGIN_PW_OK_CANCEL ) { - if(![o_auth_win isVisible]) + if([o_auth_win isVisible]) { [NSApp endSheet: o_auth_win]; [o_auth_win close]; @@ -323,7 +323,7 @@ } if( p_dialog->i_flags & DIALOG_PSZ_INPUT_OK_CANCEL ) { - if(![o_input_win isVisible]) + if([o_input_win isVisible]) { [NSApp endSheet: o_input_win]; [o_input_win close];