From 914c5bb994f5882cfebe3cd924ff8485e4fe7515 Mon Sep 17 00:00:00 2001 From: ulion Date: Mon, 17 Dec 2007 14:53:38 +0000 Subject: [PATCH] Display parsed keycode in verbose output. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmenu/menu.c | 4 ++-- 1 file 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;