Merge branch '3417_marked_selected'

* 3417_marked_selected:
  Fix vertical line color if a file is marked and selected
This commit is contained in:
Slava Zanko 2015-03-19 12:16:46 +03:00
commit 553dd8053b

View File

@ -860,8 +860,10 @@ format_file (WPanel * panel, int file_index, int width, int attr, gboolean issta
}
else
{
if (attr == SELECTED || attr == MARKED_SELECTED)
if (attr == SELECTED)
tty_setcolor (SELECTED_COLOR);
else if (attr == MARKED_SELECTED)
tty_setcolor (MARKED_SELECTED_COLOR);
else
tty_setcolor (NORMAL_COLOR);
tty_print_one_vline (TRUE);