[BACK]Return to keymap.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/keymap.c between version 1.37 and 1.38

version 1.37, 2005/11/18 20:56:53 version 1.38, 2006/07/27 19:59:29
Line 506 
Line 506 
         return (TRUE);          return (TRUE);
 }  }
   
 const char *  
 map_name(KEYMAP *map)  
 {  
         struct maps_s   *mp;  
   
         for (mp = maps; mp != NULL; mp = mp->p_next)  
                 if (mp->p_map == map)  
                         return (mp->p_name);  
         return (NULL);  
 }  
   
 struct maps_s *  struct maps_s *
 name_mode(const char *name)  name_mode(const char *name)
 {  {

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38