aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmenu
diff options
context:
space:
mode:
authorGravatar ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-17 14:53:38 +0000
committerGravatar ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-17 14:53:38 +0000
commit914c5bb994f5882cfebe3cd924ff8485e4fe7515 (patch)
treee94db59f9c8ee30060a179cae4350c3cc7cbed61 /libmenu
parent6dda4047baf0da9eba335b259472cf746ba60fa0 (diff)
Display parsed keycode in verbose output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmenu/menu.c b/libmenu/menu.c
index 98b73c403c..e501a45d27 100644
--- a/libmenu/menu.c
+++ b/libmenu/menu.c
@@ -146,8 +146,8 @@ static int menu_parse_config(char* buffer) {
cmd = asx_get_attrib("cmd",attribs);
if (key && (keycode = mp_input_get_key_from_name(key)) >= 0) {
mp_msg(MSGT_GLOBAL,MSGL_V,
- "[libmenu] got keybinding element %s %s=>[%s].\n",
- element, key, cmd ? cmd : "");
+ "[libmenu] got keybinding element %d %s=>[%s].\n",
+ keycode, key, cmd ? cmd : "");
bindings->bindings = realloc(bindings->bindings,
(bindings->binding_num+1)*sizeof(key_cmd_t));
bindings->bindings[bindings->binding_num].key = keycode;