causes inconsistency and confusion. Reverting the change;
adding a helpful message to the status line.
mutt_draw_tree (Context);
menu->redraw = REDRAW_FULL;
}
+ if (Context->pattern)
+ mutt_message _("To view all messages, limit to \"all\".");
break;
case OP_QUIT:
int i;
strfcpy (buf, NONULL (Context->pattern), sizeof (buf));
- if (mutt_get_field (prompt, buf, sizeof (buf), M_PATTERN | M_CLEAR) != 0)
+ if (mutt_get_field (prompt, buf, sizeof (buf), M_PATTERN | M_CLEAR) != 0 || !buf[0])
return (-1);
- if (!buf[0])
- {
- if (op == M_LIMIT)
- strfcpy (buf, "~A", sizeof(buf));
- else
- return -1;
- }
mutt_message _("Compiling search pattern...");