[vlc-commits] macosx: fix flawed logic (fixes #21706)

Rémi Denis-Courmont git at videolan.org
Sun Jan 13 10:06:21 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 13 11:05:11 2019 +0200| [5cd08fb0514ba6340ce436762e8b7c8ac4601ea7] | committer: Rémi Denis-Courmont

macosx: fix flawed logic (fixes #21706)

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

 modules/gui/macosx/VLCVideoOutputProvider.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCVideoOutputProvider.m b/modules/gui/macosx/VLCVideoOutputProvider.m
index e4b73b3fd4..9607c9be40 100644
--- a/modules/gui/macosx/VLCVideoOutputProvider.m
+++ b/modules/gui/macosx/VLCVideoOutputProvider.m
@@ -121,7 +121,7 @@ static void WindowSetFullscreen(vout_window_t *p_wnd, const char *psz_id)
         return;
     }
 
-    int i_full = psz_id == &windowed;
+    int i_full = psz_id != &windowed;
     BOOL b_animation = YES;
 
     @autoreleasepool {



More information about the vlc-commits mailing list