version 1.31, 2004/07/22 01:25:25 |
version 1.32, 2005/03/10 16:58:57 |
|
|
*/ |
*/ |
static int |
static int |
remap(KEYMAP *curmap, /* pointer to the map being changed */ |
remap(KEYMAP *curmap, /* pointer to the map being changed */ |
int c, /* character being changed */ |
int c, /* character being changed */ |
PF funct, /* function being changed to */ |
PF funct, /* function being changed to */ |
KEYMAP *pref_map /* if funct==NULL, map to bind to or |
KEYMAP *pref_map) /* if funct==NULL, map to bind to or NULL for new */ |
NULL for new */ |
|
) |
|
{ |
{ |
int i, n1, n2, nold; |
int i, n1, n2, nold; |
KEYMAP *mp, *newmap; |
KEYMAP *mp, *newmap; |