summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-10 19:20:12 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-10 19:20:12 +0000
commitac50a2c39a2bd3e0bfa24c585f7d0fa45161496f (patch)
treec5fc5af3b1d70c6c53ba744fec5345bb3c16486b /curs_lib.c
parent43df3616d4c7c01385476ca19b1cf705cad0c0a0 (diff)
Fix a multi_choice related bug. From Vikas.
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 00e6ceb1..817a6dd8 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -403,7 +403,7 @@ int mutt_multi_choice (char *prompt, char *letters)
{
mutt_refresh ();
ch = mutt_getch ();
- if (ch.ch == -1)
+ if (ch.ch == -1 || CI_is_return (ch.ch))
{
choice = -1;
break;