Ticket #3417: 54.patch

File 54.patch, 951 bytes (added by slavazanko, 4 years ago)
  • src/filemanager/panel.c

    From f74d02ae2f403c4ee3cbb13626d877eb67bc76f6 Mon Sep 17 00:00:00 2001
    From: oblique <psyberbits@gmail.com>
    Date: Mon, 16 Mar 2015 11:41:30 +0200
    Subject: [PATCH] Fix vertical line color if a file is marked and selected
    
    ---
     src/filemanager/panel.c | 4 +++-
     1 file changed, 3 insertions(+), 1 deletion(-)
    
    diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c
    index a7a275a..a678cf5 100644
    a b format_file (WPanel * panel, int file_index, int width, int attr, gboolean issta 
    860860        } 
    861861        else 
    862862        { 
    863             if (attr == SELECTED || attr == MARKED_SELECTED) 
     863            if (attr == SELECTED) 
    864864                tty_setcolor (SELECTED_COLOR); 
     865            else if (attr == MARKED_SELECTED) 
     866                tty_setcolor (MARKED_SELECTED_COLOR); 
    865867            else 
    866868                tty_setcolor (NORMAL_COLOR); 
    867869            tty_print_one_vline (TRUE);