From: Pasi Kallinen Date: Sat, 29 Dec 2018 11:16:46 +0000 (+0200) Subject: Curses: Remove useless inventory label X-Git-Tag: NetHack-3.6.2_Released~109^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45e06d638fdb0682ab1e36c18e56d1506685cf1a;p=nethack Curses: Remove useless inventory label The inventory window used a line to say "Inventory:", which is pretty useless, and that was the only window showing such a label. Also don't duplicate the "Not carrying anything" text from core. --- diff --git a/win/curses/cursinvt.c b/win/curses/cursinvt.c index c88889355..6e66d539d 100644 --- a/win/curses/cursinvt.c +++ b/win/curses/cursinvt.c @@ -43,15 +43,6 @@ curses_update_inv(void) /* Clear the window as it is at the moment. */ werase(win); - wmove(win, y, x); - wattron(win, attr); - wprintw(win, "Inventory:"); - wattroff(win, attr); - - /* The actual inventory will override this if we do carry stuff */ - wmove(win, y + 1, x); - wprintw(win, "Not carrying anything"); - display_inventory(NULL, FALSE); if (border) @@ -73,7 +64,6 @@ curses_add_inv(int y, /* Figure out where to draw the line */ if (curses_window_has_border(INV_WIN)) { x++; - y++; } wmove(win, y, x);