diff --git a/src/filemanager/panel.c b/src/filemanager/panel.c index 07b80dcd9..29b0ce8e7 100644 --- a/src/filemanager/panel.c +++ b/src/filemanager/panel.c @@ -1510,14 +1510,6 @@ panel_destroy (WPanel * p) /* --------------------------------------------------------------------------------------------- */ -static inline void -panel_format_modified (WPanel * panel) -{ - panel->format_modified = 1; -} - -/* --------------------------------------------------------------------------------------------- */ - static void panel_paint_sort_info (const WPanel * panel) { @@ -4302,7 +4294,6 @@ panel_sized_empty_new (const char *panel_name, int y, int x, int lines, int cols panel->list_cols = 1; panel->brief_cols = 2; panel->dirty = 1; - panel->format_modified = 1; panel->content_shift = -1; panel->max_shift = -1; @@ -4493,7 +4484,6 @@ set_panel_formats (WPanel * p) } } - panel_format_modified (p); panel_update_cols (WIDGET (p), p->frame_size); if (retcode) diff --git a/src/filemanager/panel.h b/src/filemanager/panel.h index 307954329..7d7fd7c5a 100644 --- a/src/filemanager/panel.h +++ b/src/filemanager/panel.h @@ -125,8 +125,6 @@ typedef struct struct format_e *format; /* Display format */ struct format_e *status_format; /* Mini status format */ - int format_modified; /* If the format was changed this is set */ - char *panel_name; /* The panel name */ struct stat dir_stat; /* Stat of current dir: used by execute () */