From 5afe120070189b5a78a5af1c539341ebfae4c721 Mon Sep 17 00:00:00 2001 From: nion Date: Sun, 28 Aug 2005 23:12:44 +0000 Subject: [PATCH] Nico Golde: - endwin should not be used git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@461 e385b8ad-14ed-0310-8656-cc95a2468c6d --- curs_lib.c | 2 +- init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curs_lib.c b/curs_lib.c index afd34b6..13539e2 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -276,7 +276,7 @@ void mutt_query_exit (void) if (Timeout) timeout (-1); /* restore blocking operation */ if (mutt_yesorno (_("Exit Mutt-ng?"), M_YES) == M_YES) { - endwin (); + mutt_endwin (NULL); exit (1); } mutt_clear_error (); diff --git a/init.c b/init.c index 7d2f1e6..1fc39f2 100644 --- a/init.c +++ b/init.c @@ -2439,7 +2439,7 @@ void mutt_init (int skip_sys_rc, LIST * commands) /* Read the user's initialization file. */ if (access (Muttrc, F_OK) != -1) { if (!option (OPTNOCURSES)) - endwin (); + mutt_endwin (NULL); if (source_rc (Muttrc, &err) != 0) { fputs (err.data, stderr); fputc ('\n', stderr); -- 2.20.1