Ticket #2171: mc-4.7.0.7-popup-menu-uses-dialog-colors.patch

File mc-4.7.0.7-popup-menu-uses-dialog-colors.patch, 583 bytes (added by egmont, 14 years ago)

update for newer mc (whitespace changes only)

  • src/wtools.c

    diff -ur mc-4.7.0.7.orig/src/wtools.c mc-4.7.0.7/src/wtools.c
    old new  
    5050                                const char *title, const char *help) 
    5151{ 
    5252    const int listbox_colors[DLG_COLOR_NUM] = { 
    53         MENU_ENTRY_COLOR, 
    54         MENU_SELECTED_COLOR, 
    55         MENU_HOT_COLOR, 
    56         MENU_HOTSEL_COLOR, 
     53        COLOR_NORMAL,  
     54        COLOR_FOCUS, 
     55        COLOR_HOT_NORMAL,  
     56        COLOR_HOT_FOCUS, 
    5757    }; 
    5858 
    5959    const int space = 4;