Ticket #70: 13070-mc-4.6.1-entervfs.patch

File 13070-mc-4.6.1-entervfs.patch, 437 bytes (added by slavazanko, 15 years ago)

added by me4mc

  • src/screen.c

    old new  
    17061706    if ((S_ISDIR (selection (panel)->st.st_mode) 
    17071707         || link_isdir (selection (panel)))) { 
    17081708        do_cd (selection (panel)->fname, cd_exact); 
    1709     } 
     1709    }else 
     1710    /* Try associated command */ 
     1711    if (regex_command (selection (panel)->fname, "Open", 0) != 0) 
     1712        return 1; 
    17101713} 
    17111714 
    17121715static void