summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-06 12:42:31 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-06 12:42:31 +0000
commitb53d4b21c5094583a86f3709b0dc5cd8fdc330d1 (patch)
tree3fa65ef8256fb41ebd84c1a9130ac8d80abd1e50 /curs_lib.c
parentbafab9bc93221cf62704e3990a3db28fac3c5a59 (diff)
With slang, ERR != -1.
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 d086f9df..f05ad21d 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -65,7 +65,7 @@ event_t mutt_getch (void)
if (Signals & S_INTERRUPT)
mutt_query_exit ();
- if(ch == -1)
+ if(ch == ERR)
return err;
if ((ch & 0x80) && option (OPTMETAKEY))