[MPlayer-cvslog] r25434 - trunk/libmenu/menu.c

ulion subversion at mplayerhq.hu
Mon Dec 17 15:53:39 CET 2007


Author: ulion
Date: Mon Dec 17 15:53:38 2007
New Revision: 25434

Log:
Display parsed keycode in verbose output.


Modified:
   trunk/libmenu/menu.c

Modified: trunk/libmenu/menu.c
==============================================================================
--- trunk/libmenu/menu.c	(original)
+++ trunk/libmenu/menu.c	Mon Dec 17 15:53:38 2007
@@ -146,8 +146,8 @@ static int menu_parse_config(char* buffe
           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;



More information about the MPlayer-cvslog mailing list