Show
Ignore:
Timestamp:
09/06/09 05:55:28 (3 years ago)
Author:
Pierre-Alexandre Meyer <pierre@…>
Children:
3e9ec4717294880748f41d973db4b807471bca66
Parents:
843f0ef16067d920e9e181ef897abbaa4a432da9
git-committer:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-09-05T22:55:28Z-0700
Message:

cmenu: fix handlers signature in the examples

The keys handler accepts three arguments: the current menu system, the current
menu entry and the key pressed.

Misc: fix timeout in complex.c to actually be 10 seconds.

Signed-off-by: Pierre-Alexandre Meyer <pierre@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/cmenu/adv_menu.tpl

    r843f0e r352337  
    194194} 
    195195 
    196 void keys_handler(t_menuitem *mi,unsigned int scancode) 
     196void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi, int scancode) 
    197197{ 
    198198   int nc, nr;