if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) {
address_list_wipe(&adr);
- CLEARLINE(stdscr, LINES - 1);
mutt_message (h ? _("Message not bounced.") : _("Messages not bounced."));
return;
}
- CLEARLINE(stdscr, LINES - 1);
-
rc = mutt_bounce_message (NULL, h, adr);
address_list_wipe(&adr);
/* If no error, or background, display message. */
if (!buf[0])
m_strcpy(buf, sizeof(buf), mod_core.shell);
if (buf[0]) {
- CLEARLINE(stdscr, LINES - 1);
mutt_endwin (NULL);
fflush (stdout);
if (mutt_system (buf) != 0 || option (OPTWAITKEY))
int itype;
FILE *fp;
- CLEARLINE(stdscr, LINES - 1);
fname[0] = 0;
if (mutt_get_field (_("New file: "), fname, sizeof (fname), M_FILE)
!= 0 || !fname[0])
mvwprintw(stdscr, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
bf ? _("Set flag") : _("Clear flag"));
wclrtoeol(stdscr);
-
c = mutt_getch().ch;
+ CLEARLINE(stdscr, LINES - 1);
if (c == -1) {
- CLEARLINE(stdscr, LINES - 1);
return (-1);
}
- CLEARLINE(stdscr, LINES - 1);
-
if (c < 0 || c > countof(actions) || !actions[c]) {
BEEP();
return -1;
return (v);
default:
- v = mutt_yesorno(prompt, (v == M_ASKYES));
- CLEARLINE(stdscr, LINES - 1);
- return (v);
+ return mutt_yesorno(prompt, (v == M_ASKYES));
}
}
return (v);
default:
- v = mutt_yesorno (prompt, (v == M_ASKYES));
- CLEARLINE(stdscr, LINES - 1);
- return (v);
+ return mutt_yesorno(prompt, (v == M_ASKYES));
}
-
- /* not reached */
}
/* always wise to do what someone else did before */
waddstr (stdscr, (char *) (def == M_YES ? yes : no));
mutt_refresh ();
}
+ CLEARLINE(stdscr, LINES - 1);
return (def);
}
}
}
}
-
- CLEARLINE(stdscr, LINES - 1);
return (ret);
}
snprintf(warning, sizeof (warning),
_("WARNING! You are about to overwrite %s, continue?"),
body->filename);
- if (mutt_yesorno (warning, M_NO) != M_YES) {
- CLEARLINE(stdscr, LINES - 1);
- return;
- }
+ if (mutt_yesorno (warning, M_NO) != M_YES)
+ return
tempfd = m_tempfd(tfile, sizeof(tfile), NONULL(mod_core.tmpdir), NULL);
}
if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) {
address_list_wipe(&adr);
- CLEARLINE(stdscr, LINES - 1);
mutt_message (p ? _("Message not bounced.") : _("Messages not bounced."));
return;
}
- CLEARLINE(stdscr, LINES - 1);
-
if (cur)
ret = mutt_bounce_message (fp, cur->hdr, adr);
else {