kconfig: nconf: remove meaningless wattrset() call from show_menu()
This attribute is not used because it will be overridden some lines below: wattrset(main_window, attr_main_menu_box); Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>pull/672/merge
parent
ecdb733f8f
commit
0a94768cfd
|
|
@ -953,7 +953,6 @@ static void show_menu(const char *prompt, const char *instructions,
|
||||||
current_instructions = instructions;
|
current_instructions = instructions;
|
||||||
|
|
||||||
clear();
|
clear();
|
||||||
wattrset(main_window, attr_normal);
|
|
||||||
print_in_middle(stdscr, 1, 0, getmaxx(stdscr),
|
print_in_middle(stdscr, 1, 0, getmaxx(stdscr),
|
||||||
menu_backtitle,
|
menu_backtitle,
|
||||||
attr_main_heading);
|
attr_main_heading);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue