[vlc-devel] commit: Hotkeys: add missing break in switch (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Dec 4 07:21:46 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Nov 29 21:24:24 2009 +0100| [99748d1f9a49532503ed7d2ff605e7fec93ab35e] | committer: Jean-Baptiste Kempf 

Hotkeys: add missing break in switch

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

 modules/control/hotkeys.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index bd5d82b..81b2ed2 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -265,6 +265,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
             vlc_object_t *obj = p_vout ? VLC_OBJECT(p_vout)
                                        : VLC_OBJECT(p_playlist);
             var_ToggleBool( obj, "directx-wallpaper" );
+            break;
         }
 #endif
 
@@ -286,6 +287,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
         case ACTIONID_RANDOM:
         {
             var_ToggleBool( p_playlist, "random" );
+            break;
         }
 
         case ACTIONID_PLAY_PAUSE:




More information about the vlc-devel mailing list