diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-03-25 16:18:15 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-04-17 04:03:56 +0200 |
commit | 90fe4c506c855ee90116a96ec25fa39ea8e9f202 (patch) | |
tree | b969ab352e24657c849a82e566f371d1772e91fb /scripts/kconfig/lxdialog/menubox.c | |
parent | kbuild: builddeb: Eliminate debian/arch use (diff) | |
download | linux-90fe4c506c855ee90116a96ec25fa39ea8e9f202.tar.xz linux-90fe4c506c855ee90116a96ec25fa39ea8e9f202.zip |
kconfig: menuconfig: remove OLD_NCURSES macro
This code has been here for more than 20 years. The bug in the old days
no longer matters.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lxdialog/menubox.c')
-rw-r--r-- | scripts/kconfig/lxdialog/menubox.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c index 58c2f8afe59b..0e333284e947 100644 --- a/scripts/kconfig/lxdialog/menubox.c +++ b/scripts/kconfig/lxdialog/menubox.c @@ -63,15 +63,7 @@ static void do_print_item(WINDOW * win, const char *item, int line_y, /* Clear 'residue' of last item */ wattrset(win, dlg.menubox.atr); wmove(win, line_y, 0); -#if OLD_NCURSES - { - int i; - for (i = 0; i < menu_width; i++) - waddch(win, ' '); - } -#else wclrtoeol(win); -#endif wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); mvwaddstr(win, line_y, item_x, menu_item); if (hotkey) { |