[vlc-commits] ncurses: mute switch fall through
Rémi Denis-Courmont
git at videolan.org
Sun Mar 3 16:52:37 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 3 17:46:21 2019 +0200| [42ebadd105219965c54a8775b4e1f2e09e82ba5a] | committer: Rémi Denis-Courmont
ncurses: mute switch fall through
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42ebadd105219965c54a8775b4e1f2e09e82ba5a
---
modules/gui/ncurses.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 0d6e22b76a..db3b2e91a8 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1569,9 +1569,10 @@ static void HandleCommonKey(intf_thread_t *intf, input_thread_t *input,
switch(key)
{
case 0x1b: /* ESC */
+ /* See comment in HandleEditBoxKey() */
if (getch() != ERR)
return;
-
+ /* fall through */
case 'q':
case 'Q':
case KEY_EXIT:
More information about the vlc-commits
mailing list