summaryrefslogtreecommitdiff
path: root/util/kconfig/lxdialog/menubox.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig/lxdialog/menubox.c')
-rw-r--r--util/kconfig/lxdialog/menubox.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/util/kconfig/lxdialog/menubox.c b/util/kconfig/lxdialog/menubox.c
index 58c2f8afe5..0e333284e9 100644
--- a/util/kconfig/lxdialog/menubox.c
+++ b/util/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) {