{
int width = MuttMessageWindow->cols - col - 1;
int redraw;
- int pass = (flags & MUTT_PASS);
- int first = 1;
+ bool pass = (flags & MUTT_PASS);
+ bool first = true;
int ch, w, r;
size_t i;
wchar_t *tempbuf = NULL;
{
/* Coming back after return 1 */
redraw = MUTT_REDRAW_LINE;
- first = 0;
+ first = false;
}
else
{
if (ch != OP_NULL)
{
- first = 0;
+ first = false;
if (ch != OP_EDITOR_COMPLETE && ch != OP_EDITOR_COMPLETE_QUERY)
state->tabs = 0;
redraw = MUTT_REDRAW_LINE;
case OP_EDITOR_MAILBOX_CYCLE:
if (flags & MUTT_EFILE)
{
- first = 1; /* clear input if user types a real key later */
+ first = true; /* clear input if user types a real key later */
mutt_mb_wcstombs(buf, buflen, state->wbuf, state->curpos);
mutt_mailbox(Context ? Context->mailbox : NULL, buf, buflen);
state->curpos = state->lastchar =
if (first && (flags & MUTT_CLEAR))
{
- first = 0;
+ first = false;
if (IsWPrint(wc)) /* why? */
{
state->curpos = 0;