]> git.sesse.net Git - vlc/commitdiff
Hotkeys: add missing break in switch
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 29 Nov 2009 20:24:24 +0000 (21:24 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 4 Dec 2009 06:21:39 +0000 (07:21 +0100)
modules/control/hotkeys.c

index bd5d82b1c9155032bafe43cb11d54b92bf12f0e1..81b2ed271c0603cf6df22f3f9d53ba2a4293286e 100644 (file)
@@ -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: