From fb388c4667e28c606b15ba42f76fbde6fdaa173b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 20 Apr 2008 17:38:33 +0200 Subject: [PATCH 1/1] Fix ddf73ca0199b45de2b8b924a131df3922e5d48b5 : the window were never destroyed --- modules/gui/macosx/interaction.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]; -- 2.39.2