mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Remove unised WPanel::format_modified.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1dd8a47987
commit
798f3bb74e
@ -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)
|
||||
|
@ -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 () */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user