X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=enter.c;h=6cf9d8dd5f15a7408abfc36b272ff39285ebba3e;hp=afc23f6a1365808313532a7af16146f13a6889c0;hb=1bbedb2dcb610160fe7fd2b44bd098248bfd83a0;hpb=4a9d00d99a1b6b24a9fcc8eb604dc3812b2782b8 diff --git a/enter.c b/enter.c index afc23f6..6cf9d8d 100644 --- a/enter.c +++ b/enter.c @@ -17,6 +17,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "mutt.h" #include "mutt_menu.h" #include "mutt_curses.h" @@ -614,9 +618,10 @@ self_insert: /* use the raw keypress */ ch = LastKey; - if ((ch == '.') && (flags & (M_FILE | M_EFILE))) + if ((ch == '#') && (flags & M_LASTFOLDER)) { rv = 2; + my_wcstombs (buf, buflen, state->wbuf, state->lastchar); goto bye; }