arogue7: fix a display bug when viewing inventory after restoring.

The restore() function displayed a status message via wprintw() instead
of using the msg() functions.  If the inventory was then viewed before
a call to msg(), msgw would obscure the first lines of the inventory
list.

There are surely more bugs related to messages.
This commit is contained in:
John "Elwin" Edwards 2015-06-12 12:09:16 -04:00
parent 5d0e3dd646
commit 79a736fd0b

View file

@ -239,7 +239,7 @@ char **envp;
if (lines > 24) lines = 24;
mpos = 0;
mvwprintw(msgw, 0, 0, "%s: %s", file, ctime(&sbuf2.st_mtime));
msg("%s: %s", file, ctime(&sbuf2.st_mtime));
/*
* defeat multiple restarting from the same place