X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=keymap.c;h=b480455c9c5e7c67f69dba650fb3f2ece23d2aa4;hp=9b501f23fcdb65f6000033626521a0cbdb374e82;hb=a0aa3d4bba449529dfed997214b34e309ce451dd;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/keymap.c b/keymap.c index 9b501f2..b480455 100644 --- a/keymap.c +++ b/keymap.c @@ -12,6 +12,8 @@ #endif #include "mutt.h" +#include "buffer.h" +#include "ascii.h" #include "mutt_menu.h" #include "mutt_curses.h" #include "keymap.h" @@ -79,6 +81,9 @@ static struct mapping_t KeyNames[] = { {"", ' '}, #ifdef KEY_BTAB {"", KEY_BTAB}, +#endif +#ifdef KEY_NEXT + {"", KEY_NEXT}, #endif {NULL, 0} }; @@ -316,7 +321,7 @@ static void push_string (char *s) } } } - mutt_ungetch (*p--, 0); + mutt_ungetch ((unsigned char) *p--, 0); } }