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:
parent
5d0e3dd646
commit
79a736fd0b
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ char **envp;
|
||||||
if (lines > 24) lines = 24;
|
if (lines > 24) lines = 24;
|
||||||
|
|
||||||
mpos = 0;
|
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
|
* defeat multiple restarting from the same place
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue