git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135139e
)
hotkeys: don't set key-action when we didn't find a suitable action in this particula...
author
Derk-Jan Hartman
<hartman@videolan.org>
Sun, 10 Aug 2008 15:58:47 +0000
(17:58 +0200)
committer
Derk-Jan Hartman
<hartman@videolan.org>
Sun, 10 Aug 2008 15:58:47 +0000
(17:58 +0200)
modules/control/hotkeys.c
patch
|
blob
|
history
diff --git
a/modules/control/hotkeys.c
b/modules/control/hotkeys.c
index
f79b0ea
..
22a0887
100644
(file)
--- a/
modules/control/hotkeys.c
+++ b/
modules/control/hotkeys.c
@@
-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;
}
/*****************************************************************************