(status_msg_init): repaint screen forced to remove previous finished dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-09-10 10:58:14 +04:00
parent c31e413b2a
commit 720f214482

View File

@ -573,6 +573,9 @@ status_msg_init (status_msg_t * sm, const char *title, double delay, status_msg_
{ {
guint64 start; guint64 start;
/* repaint screen to remove previous finished dialog */
mc_refresh ();
start = mc_timer_elapsed (mc_global.timer); start = mc_timer_elapsed (mc_global.timer);
sm->dlg = dlg_create (TRUE, 0, 0, 7, min (max (40, COLS / 2), COLS), dialog_colors, sm->dlg = dlg_create (TRUE, 0, 0, 7, min (max (40, COLS / 2), COLS), dialog_colors,