Fix vertical line color if a file is marked and selected

This commit is contained in:
oblique 2015-03-16 11:41:30 +02:00 committed by Slava Zanko
parent ada7f97f4e
commit 25d554ab03

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);