summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-07 17:09:03 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-07 17:09:03 +0000
commit0ab0eec0a8b8e562a06d0ea14d232c6f1f034c32 (patch)
tree92181497c6b0d91be0846cb374684cd71398590c /curs_lib.c
parent4bb6cfc49878fa27d9a7a9d0e309b1ebacb24d97 (diff)
Fix macro functions for the pager menu.
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 f05ad21d..f1f6aa1e 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -141,7 +141,7 @@ int mutt_yesorno (const char *msg, int def)
{
mutt_refresh ();
ch = mutt_getch ();
- if (ch.ch == ERR) return(-1);
+ if (ch.ch == -1) return(-1);
if (CI_is_return (ch.ch))
break;
else if (tolower(ch.ch) == tolower(*yes))