Mercurial > hg > early-roguelike
diff arogue7/save.c @ 163:89deb1197a2d
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.
author | John "Elwin" Edwards |
---|---|
date | Fri, 12 Jun 2015 12:09:16 -0400 |
parents | c697782a9b37 |
children | 2d94c32a709e |
line wrap: on
line diff
--- a/arogue7/save.c Mon Jun 08 10:01:25 2015 -0400 +++ b/arogue7/save.c Fri Jun 12 12:09:16 2015 -0400 @@ -239,7 +239,7 @@ 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