From 2e9b51fb51a029d99e890a791e00411daee21134 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Wed, 15 Aug 2007 11:22:57 +0200 Subject: [PATCH] wibble Signed-off-by: Pierre Habouzit --- commands.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/commands.c b/commands.c index ca0efcc..7f64816 100644 --- a/commands.c +++ b/commands.c @@ -64,7 +64,6 @@ int mutt_display_message (HEADER * cur) if (DisplayFilter && *DisplayFilter) { fpfilterout = fpout; fpout = NULL; - /* mutt_endwin (NULL); */ filterpid = mutt_create_filter_fd (DisplayFilter, &fpout, NULL, NULL, -1, fileno (fpfilterout), -1); if (filterpid < 0) { @@ -272,14 +271,7 @@ static int _mutt_pipe_message(HEADER * h, char *cmd, int decode, int print, pid_t thepid; FILE *fpout; -/* mutt_endwin (NULL); - - is this really needed here ? - it makes the screen flicker on pgp and s/mime messages, - before asking for a passphrase... - Oliver Ehli */ if (h) { - mutt_message_hook (Context, h, M_MESSAGEHOOK); if (decode) { @@ -296,9 +288,7 @@ static int _mutt_pipe_message(HEADER * h, char *cmd, int decode, int print, pipe_msg (h, fpout, decode, print); m_fclose(&fpout); rc = mutt_wait_filter (thepid); - } - else { /* handle tagged messages */ - + } else { /* handle tagged messages */ if (decode) { for (i = 0; i < Context->vcount; i++) if (Context->hdrs[Context->v2r[i]]->tagged) { @@ -328,8 +318,7 @@ static int _mutt_pipe_message(HEADER * h, char *cmd, int decode, int print, rc = 1; } } - } - else { + } else { mutt_endwin (NULL); if ((thepid = mutt_create_filter (cmd, &fpout, NULL, NULL)) < 0) { mutt_perror (_("Can't create filter process")); -- 2.20.1