vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Jun  5 11:17:47 
2019 +0200| [8a1321f65232133958134cbd56b3863d2148b942] | committer: Felix Paul 
Kühne

macosx: replace beep by assert

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

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

diff --git a/modules/gui/macosx/windows/VLCOpenWindowController.m 
b/modules/gui/macosx/windows/VLCOpenWindowController.m
index 327183503e..f6457df10e 100644
--- a/modules/gui/macosx/windows/VLCOpenWindowController.m
+++ b/modules/gui/macosx/windows/VLCOpenWindowController.m
@@ -1297,7 +1297,7 @@ static NSString *kCaptureTabViewId  = @"capture";
     if ([[self MRL] length])
         [NSApp stopModalWithCode: 1];
     else
-        NSBeep();
+        vlc_assert_unreachable();
 }
 
 #pragma mark - audio and video device management

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to