X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.c;h=1fc39f21a937027f08146313659e2e1b70eedbb3;hp=7d2f1e61cc301779cd2ff01d5dff338b012dc1a3;hb=5afe120070189b5a78a5af1c539341ebfae4c721;hpb=e5c944e193f275241f3c709d952387db9073f279;ds=sidebyside 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);