Ticket #3547: mc-3547-WPanel-should-report-MSG_NOT_HANDLED-for-unhandled-commands.patch

File mc-3547-WPanel-should-report-MSG_NOT_HANDLED-for-unhandled-commands.patch, 665 bytes (added by mooffie, 8 years ago)
  • src/filemanager/panel.c

    From c8dc11ac396174553bf0fadbcc6460159ff5f4c1 Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Tue, 23 Feb 2016 17:43:30 +0200
    Subject: [PATCH] WPanel should report MSG_NOT_HANDLED for unhandled commands.
    
    ---
     src/filemanager/panel.c | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c
    index 2a381e2..415aa56 100644
    a b panel_execute_cmd (WPanel * panel, long command) 
    35573557        panel_set_sort_type_by_id (panel, "mtime"); 
    35583558        break; 
    35593559    default: 
     3560        res = MSG_NOT_HANDLED; 
    35603561        break; 
    35613562    } 
    35623563