src/filemanager/layout.c: rename variable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-01-18 21:12:22 +03:00
parent bedc7e5c12
commit 03c54082a6

View File

@ -143,7 +143,7 @@ static struct
/* These variables are used to avoid updating the information unless */ /* These variables are used to avoid updating the information unless */
/* we need it */ /* we need it */
static panels_layout_t old_layout; static panels_layout_t old_panels_layout;
static int old_output_lines; static int old_output_lines;
/* Internal variables */ /* Internal variables */
@ -644,7 +644,7 @@ layout_box (void)
{ {
WDialog *layout_dlg; WDialog *layout_dlg;
old_layout = panels_layout; old_panels_layout = panels_layout;
old_output_lines = output_lines; old_output_lines = output_lines;
layout_dlg = layout_dlg_create (); layout_dlg = layout_dlg_create ();
@ -661,7 +661,7 @@ layout_box (void)
else else
{ {
/* restore layout */ /* restore layout */
panels_layout = old_layout; panels_layout = old_panels_layout;
output_lines = old_output_lines; output_lines = old_output_lines;
check_split (&panels_layout); /* FIXME: is it really needed? */ check_split (&panels_layout); /* FIXME: is it really needed? */
} }