From 79a736fd0bd89e5e420c60c7b186223a30d3eb82 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Fri, 12 Jun 2015 12:09:16 -0400 Subject: [PATCH] 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. --- arogue7/save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arogue7/save.c b/arogue7/save.c index 16e5d4e..66ac92d 100644 --- a/arogue7/save.c +++ b/arogue7/save.c @@ -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