Skip to content

Commit

Permalink
Ticket #3405: mcview: use VIEW_SELECTED_COLOR in plain mode.
Browse files Browse the repository at this point in the history
Thanks Andreas Mohr <[email protected]> for the original patch.

Signed-off-by: Andrew Borodin <[email protected]>
  • Loading branch information
aborodin committed Feb 26, 2015
1 parent aa2175c commit ea2e5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewer/ascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ mcview_display_line (mcview_t * view, mcview_state_machine_t * state, int row,
}

if (view->search_start <= state->offset && state->offset < view->search_end)
color = SELECTED_COLOR;
color = VIEW_SELECTED_COLOR;

if (cs[0] == '\n')
{
Expand Down

0 comments on commit ea2e5bf

Please sign in to comment.