build: scripts/config - update to kconfig-v6.6.16
[openwrt/openwrt.git] / scripts / config / lxdialog / menubox.c
index 428774556674e609d4696369100e2858c7f5e8d5..bcdf3bbac99a8ac0295ab1dd9c3e093c63f3d95d 100644 (file)
@@ -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) {