projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Andreas Krennmair:
[apps/madmutt.git]
/
enter.c
diff --git
a/enter.c
b/enter.c
index
afc23f6
..
6cf9d8d
100644
(file)
--- a/
enter.c
+++ b/
enter.c
@@
-17,6
+17,10
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
* 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"
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
@@
-614,9
+618,10
@@
self_insert:
/* use the raw keypress */
ch = LastKey;
/* use the raw keypress */
ch = LastKey;
- if ((ch == '
.') && (flags & (M_FILE | M_EFILE)
))
+ if ((ch == '
#') && (flags & M_LASTFOLDER
))
{
rv = 2;
{
rv = 2;
+ my_wcstombs (buf, buflen, state->wbuf, state->lastchar);
goto bye;
}
goto bye;
}