summaryrefslogtreecommitdiff
path: root/lib/libcurses/base/lib_endwin.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-06-14 02:29:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-06-14 02:29:17 +0000
commit1ab49343078e91ce5220fbaa02855c4785b491c4 (patch)
treef2eed65a80129b823b3ca6306102052a04283550 /lib/libcurses/base/lib_endwin.c
parent2566c87b178ae7078d4b49440ef2c6a3901e149e (diff)
ncurses-5.0-990612
Diffstat (limited to 'lib/libcurses/base/lib_endwin.c')
-rw-r--r--lib/libcurses/base/lib_endwin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libcurses/base/lib_endwin.c b/lib/libcurses/base/lib_endwin.c
index 5ebe5a11323..1a6614a3ebc 100644
--- a/lib/libcurses/base/lib_endwin.c
+++ b/lib/libcurses/base/lib_endwin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib_endwin.c,v 1.1 1999/01/18 19:09:42 millert Exp $ */
+/* $OpenBSD: lib_endwin.c,v 1.2 1999/06/14 02:29:15 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -44,7 +44,7 @@
#include <curses.priv.h>
#include <term.h>
-MODULE_ID("$From: lib_endwin.c,v 1.16 1998/09/20 03:29:17 tom Exp $")
+MODULE_ID("$From: lib_endwin.c,v 1.17 1999/06/12 23:01:46 tom Exp $")
int
endwin(void)
@@ -56,7 +56,8 @@ endwin(void)
SP->_mouse_wrap(SP);
_nc_screen_wrap();
_nc_mvcur_wrap(); /* wrap up cursor addressing */
+ returnCode(reset_shell_mode());
}
- returnCode(reset_shell_mode());
+ returnCode(ERR);
}