Display parsed keycode in verbose output.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25434 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ulion 2007-12-17 14:53:38 +00:00
parent 6dda4047ba
commit 914c5bb994
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ static int menu_parse_config(char* buffer) {
cmd = asx_get_attrib("cmd",attribs); cmd = asx_get_attrib("cmd",attribs);
if (key && (keycode = mp_input_get_key_from_name(key)) >= 0) { if (key && (keycode = mp_input_get_key_from_name(key)) >= 0) {
mp_msg(MSGT_GLOBAL,MSGL_V, mp_msg(MSGT_GLOBAL,MSGL_V,
"[libmenu] got keybinding element %s %s=>[%s].\n", "[libmenu] got keybinding element %d %s=>[%s].\n",
element, key, cmd ? cmd : ""); keycode, key, cmd ? cmd : "");
bindings->bindings = realloc(bindings->bindings, bindings->bindings = realloc(bindings->bindings,
(bindings->binding_num+1)*sizeof(key_cmd_t)); (bindings->binding_num+1)*sizeof(key_cmd_t));
bindings->bindings[bindings->binding_num].key = keycode; bindings->bindings[bindings->binding_num].key = keycode;