Commit 4d6b5611 authored by Thomas Roessler's avatar Thomas Roessler

[unstable] fix next-unread plus collapsing.

parent a4923c57
......@@ -1141,7 +1141,14 @@ int mutt_index_menu (void)
if (CUR->collapsed)
{
if (op == OP_MAIN_NEXT_UNREAD || op == OP_MAIN_PREV_UNREAD || UNREAD(CUR) == 1)
if ((op == OP_MAIN_NEXT_UNREAD || op == OP_MAIN_PREV_UNREAD) &&
UNREAD (CUR))
{
menu->current = i;
break;
}
if ((op == OP_MAIN_NEXT_NEW || op == OP_MAIN_PREV_NEW) &&
UNREAD (CUR) == 1)
{
menu->current = i;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment