Ticket #3588: 3588-cannot-set-mini-format-for-brief-listing-type.patch

File 3588-cannot-set-mini-format-for-brief-listing-type.patch, 803 bytes (added by mooffie, 9 years ago)
  • src/filemanager/cmd.c

    From 0c45ec7cb78ca558b909eb956774a952da780382 Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Sun, 24 Jan 2016 16:49:43 +0200
    Subject: [PATCH] Cannot set mini-format for "brief" listing type.
    
    ---
     src/filemanager/cmd.c | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    diff --git a/src/filemanager/cmd.c b/src/filemanager/cmd.c
    index 000af6f..1110d0c 100644
    a b configure_panel_listing (WPanel * p, int list_type, int brief_cols, int use_msfo 
    476476 
    477477    if (list_type == list_brief) 
    478478        p->brief_cols = brief_cols; 
    479     else if (list_type == list_user || use_msformat) 
     479 
     480    if (list_type == list_user || use_msformat) 
    480481    { 
    481482        g_free (p->user_format); 
    482483        p->user_format = *user;