From: nion Date: Sun, 28 Aug 2005 23:12:44 +0000 (+0000) Subject: Nico Golde: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=5afe120070189b5a78a5af1c539341ebfae4c721 Nico Golde: - endwin should not be used git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@461 e385b8ad-14ed-0310-8656-cc95a2468c6d --- 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);