tweaks: elide a wrapper function that is no longer useful

master
Benno Schulenberg 2018-09-28 20:06:47 +02:00
parent 628eef28b3
commit 0b63de335e
4 changed files with 2 additions and 10 deletions

View File

@ -2681,7 +2681,7 @@ int main(int argc, char **argv)
confirm_margin(); confirm_margin();
#endif #endif
if (currmenu != MMAIN) if (currmenu != MMAIN)
display_main_list(); bottombars(MMAIN);
lastmessage = HUSH; lastmessage = HUSH;
as_an_at = TRUE; as_an_at = TRUE;

View File

@ -665,7 +665,6 @@ void edit_refresh(void);
void adjust_viewport(update_type location); void adjust_viewport(update_type location);
void total_redraw(void); void total_redraw(void);
void total_refresh(void); void total_refresh(void);
void display_main_list(void);
void do_cursorpos(bool force); void do_cursorpos(bool force);
void do_cursorpos_void(void); void do_cursorpos_void(void);
void spotlight(bool active, size_t from_col, size_t to_col); void spotlight(bool active, size_t from_col, size_t to_col);

View File

@ -2423,7 +2423,7 @@ void do_justify(bool full_justify)
/* Show "Unjustify" in the help lines. */ /* Show "Unjustify" in the help lines. */
uncutfunc->desc = unjust_tag; uncutfunc->desc = unjust_tag;
display_main_list(); bottombars(MMAIN);
#ifndef NANO_TINY #ifndef NANO_TINY
kbinput = KEY_WINCH; kbinput = KEY_WINCH;

View File

@ -3334,13 +3334,6 @@ void total_refresh(void)
bottombars(currmenu); bottombars(currmenu);
} }
/* Display the main shortcut list on the last two rows of the bottom
* portion of the window. */
void display_main_list(void)
{
bottombars(MMAIN);
}
/* Show info about the current cursor position on the statusbar. /* Show info about the current cursor position on the statusbar.
* Do this unconditionally when force is TRUE; otherwise, only if * Do this unconditionally when force is TRUE; otherwise, only if
* suppress_cursorpos is FALSE. In any case, reset the latter. */ * suppress_cursorpos is FALSE. In any case, reset the latter. */