Indent items in perm_invent window

Add a space in front of items in the perm_invent window as in the inventory
window.
This commit is contained in:
Patric Mueller
2021-04-01 21:42:02 +02:00
parent 495aaf33f6
commit 2805a135a3
2 changed files with 4 additions and 2 deletions

View File

@@ -362,8 +362,9 @@ curs_show_invt(WINDOW *win)
/* despite being shown as a menu, nothing is selectable from the
persistent inventory window so avoid the usual highlighting
of inventory letters */
wprintw(win, "%c) ", accelerator);
available_width -= 3; /* letter+parenthesis+space */
wprintw(win, " %c) ", accelerator);
available_width -= 4; /* space+letter+parenthesis+space */
/*
* Narrow the entries to fit more of the interesting text,
* but defer the removal until after menu colors matching.