Ticket #67: 12561-mc-4.6.1-xselect-edit-cleanline.patch

File 12561-mc-4.6.1-xselect-edit-cleanline.patch, 433 bytes (added by slavazanko, 11 years ago)

added by me4mc

  • edit/editdraw.c

    old new  
    183183#define lowlevel_set_color(x) attrset(MY_COLOR_PAIR(color)) 
    184184#endif 
    185185 
     186static void clean_line (){ 
     187  set_default_colors(); 
     188  SLsmg_erase_eol(); 
     189} 
    186190static void 
    187191print_to_widget (WEdit *edit, long row, int start_col, int start_col_real, 
    188192                 long end_col, unsigned int line[])