Ticket #3715: mc-3715-sort-order-double-click.patch

File mc-3715-sort-order-double-click.patch, 453 bytes (added by egmont, 8 years ago)

Fix

  • src/filemanager/panel.c

    diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c
    index 4d57370..78ce877 100644
    a b panel_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event) 
    39123912            y = event->y - 1; 
    39133913            lines = panel_lines (panel); 
    39143914 
    3915             if (y <= lines) 
     3915            if (y > 0 && y <= lines) 
    39163916                do_enter (panel); 
    39173917        } 
    39183918        break;