]> git.sesse.net Git - vlc/commitdiff
hotkeys: don't set key-action when we didn't find a suitable action in this particula...
authorDerk-Jan Hartman <hartman@videolan.org>
Sun, 10 Aug 2008 15:58:47 +0000 (17:58 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Sun, 10 Aug 2008 15:58:47 +0000 (17:58 +0200)
modules/control/hotkeys.c

index f79b0ea2c83f9d8ec2613b8c0bc55ddcdeefd8ca..22a08870ffbcce9cf7f5897645180cf7ef7b1b87 100644 (file)
@@ -894,7 +894,9 @@ static int SpecialKeyEvent( vlc_object_t *libvlc, char const *psz_var,
           return VLC_SUCCESS;
     }
 
-    return PutAction( p_intf, i_action );
+    if( i_action )
+        return PutAction( p_intf, i_action );
+    return VLC_SUCCESS;
 }
 
 /*****************************************************************************