Ignore:
Timestamp:
Nov 22, 2009, 3:06:26 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Moved help code to help.c
  • Fixed bad string handling in configuration
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/server.c

    r3974 r3998  
    454454       CTRL-A a sends literal CTRL-A */
    455455
    456 
    457456    if (screen_list->help)
    458457    {
    459         if (c == CACA_KEY_ESCAPE || c == 'h')
    460         {
    461             screen_list->help = 0;
    462             screen_list->changed = 1;
    463             refresh = 1;
    464             return 1;
    465         }
    466         else
    467         {
    468             return 0;
    469         }
     458        return help_handle_key(screen_list, c); 
    470459    }
    471460
Note: See TracChangeset for help on using the changeset viewer.