Commit 2feb0633 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

hotkeys: don't set key-action when we didn't find a suitable action in this particular set.

parent 135139ea
......@@ -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;
}
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment