X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=enter.c;h=5ad1f0a8d40d4090c49e32a95860982f83444ca9;hb=3714b39a106889e8f9ca6de2664e7aabe9a7e853;hp=d6b39541f901a3d900c41cb84d61b62857c0b90c;hpb=bf05934822fabedece8fb66c9bbea5d392b3c5be;p=apps%2Fmadmutt.git diff --git a/enter.c b/enter.c index d6b3954..5ad1f0a 100644 --- a/enter.c +++ b/enter.c @@ -614,9 +614,10 @@ self_insert: /* use the raw keypress */ ch = LastKey; - if (ch == '.') + if ((ch == '#') && (flags & M_LASTFOLDER)) { rv = 2; + my_wcstombs (buf, buflen, state->wbuf, state->lastchar); goto bye; }