Skip to content

Commit

Permalink
Merge branch '3417_marked_selected'
Browse files Browse the repository at this point in the history
* 3417_marked_selected:
  Fix vertical line color if a file is marked and selected
  • Loading branch information
slavaz committed Mar 19, 2015
2 parents ada7f97 + 25d554a commit 553dd80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/filemanager/panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 553dd80

Please sign in to comment.