diff --git a/src/nano.c b/src/nano.c index d5f195e1..5c42fe65 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2681,7 +2681,7 @@ int main(int argc, char **argv) confirm_margin(); #endif if (currmenu != MMAIN) - display_main_list(); + bottombars(MMAIN); lastmessage = HUSH; as_an_at = TRUE; diff --git a/src/proto.h b/src/proto.h index 65b98e1f..e5661bc6 100644 --- a/src/proto.h +++ b/src/proto.h @@ -665,7 +665,6 @@ void edit_refresh(void); void adjust_viewport(update_type location); void total_redraw(void); void total_refresh(void); -void display_main_list(void); void do_cursorpos(bool force); void do_cursorpos_void(void); void spotlight(bool active, size_t from_col, size_t to_col); diff --git a/src/text.c b/src/text.c index 9e2ca23c..5f0ecf8f 100644 --- a/src/text.c +++ b/src/text.c @@ -2423,7 +2423,7 @@ void do_justify(bool full_justify) /* Show "Unjustify" in the help lines. */ uncutfunc->desc = unjust_tag; - display_main_list(); + bottombars(MMAIN); #ifndef NANO_TINY kbinput = KEY_WINCH; diff --git a/src/winio.c b/src/winio.c index 838783c1..9ec1ef40 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3334,13 +3334,6 @@ void total_refresh(void) 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. * Do this unconditionally when force is TRUE; otherwise, only if * suppress_cursorpos is FALSE. In any case, reset the latter. */