Ticket #254: 00-93-copy-move-dialog-initial-focus.patch

File 00-93-copy-move-dialog-initial-focus.patch, 779 bytes (added by egmont, 16 years ago)

The one-line fix for the problem

  • src/filegui.c

    If compiled without --enable-charset (the default), the focus after pressing
    F5 or F6 was not on the destination filename.
    
    diff -Nar -U 5 mc-4.6.2.orig/src/filegui.c mc-4.6.2/src/filegui.c
    old new  
    773773#ifdef HAVE_CHARSET 
    774774 #define SKIP             10 
    775775 #define B_FROM B_USER+1 
    776776 #define B_TO   B_USER+2 
    777777#else 
    778  #define SKIP             10 
     778 #define SKIP             7 
    779779#endif 
    780780 
    781781    {quick_checkbox, 42,64, 8, FMDY, N_("&Stable Symlinks"),0,0,0,0,"stab-sym"}, 
    782782    {quick_checkbox, 31,64, 7, FMDY, N_("&Dive into subdir if exists"),0,0,0,0,"dive"}, 
    783783    {quick_checkbox, 3, 64, 8, FMDY, N_("preserve &Attributes"),9,0,0,0,"preserve"},