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 f79b0ea..22a0887 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;
 }
 
 /*****************************************************************************