Ticket #3943: 3943.patch

File 3943.patch, 758 bytes (added by andrew_b, 6 years ago)
  • src/execute.c

    diff --git a/src/execute.c b/src/execute.c
    index 999ae0e..05086ce 100644
    a b toggle_panels (void) 
    549549    vfs_path_free (new_dir_vpath); 
    550550#endif /* ENABLE_SUBSHELL */ 
    551551 
     552    if (was_sigwinch != 0 || mc_global.tty.winch_flag != 0) 
     553        dialog_change_screen_size (); 
     554    else 
     555        repaint_screen (); 
     556 
    552557    if (mc_global.mc_run_mode == MC_RUN_FULL) 
    553558    { 
    554559        update_panels (UP_OPTIMIZE, UP_KEEPSEL); 
    555560        update_xterm_title_path (); 
    556561    } 
    557  
    558     if (was_sigwinch != 0 || mc_global.tty.winch_flag != 0) 
    559         dialog_change_screen_size (); 
    560     else 
    561         repaint_screen (); 
    562562} 
    563563 
    564564/* --------------------------------------------------------------------------------------------- */