Ticket #3955: code cleanup before 4.8.23 release.

(update_one_panel_widget): clarify call of mc_setctl().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2019-05-09 15:01:04 +03:00
parent 0cf2ded646
commit 70eba8c2d9

View File

@ -3984,7 +3984,7 @@ update_one_panel_widget (WPanel * panel, panel_update_flags_t flags, const char
if ((flags & UP_RELOAD) != 0)
{
panel->is_panelized = FALSE;
mc_setctl (panel->cwd_vpath, VFS_SETCTL_FLUSH, 0);
mc_setctl (panel->cwd_vpath, VFS_SETCTL_FLUSH, NULL);
memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat));
}