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.
/* 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)
/* Figure out where to draw the line */
if (curses_window_has_border(INV_WIN)) {
x++;
- y++;
}
wmove(win, y, x);