[vlc-devel] commit: Fix ddf73ca0199b45de2b8b924a131df3922e5d48b5 : the window were never destroyed ( Rafaël Carré )

git version control git at videolan.org
Sun Apr 20 17:38:06 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 20 17:38:33 2008 +0200| [fb388c4667e28c606b15ba42f76fbde6fdaa173b]

Fix ddf73ca0199b45de2b8b924a131df3922e5d48b5 : the window were never destroyed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb388c4667e28c606b15ba42f76fbde6fdaa173b
---

 modules/gui/macosx/interaction.m |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/macosx/interaction.m b/modules/gui/macosx/interaction.m
index aa077f5..5501e58 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];




More information about the vlc-devel mailing list