lint bit, shadowed 'restoring' (trunk only)

This commit is contained in:
nethack.rankin
2012-01-23 06:29:37 +00:00
parent 8377042fb8
commit fa80181ed0
+3 -3
View File
@@ -627,14 +627,14 @@ boolean init;
* message history for ^P recall without having displayed it. * message history for ^P recall without having displayed it.
*/ */
void void
tty_putmsghistory(msg, restoring) tty_putmsghistory(msg, restoring_msghist)
const char *msg; const char *msg;
boolean restoring; boolean restoring_msghist;
{ {
static boolean initd = FALSE; static boolean initd = FALSE;
int idx; int idx;
if (restoring && !initd) { if (restoring_msghist && !initd) {
/* we're restoring history from the previous session, but new /* we're restoring history from the previous session, but new
messages have already been issued this session ("Restoring...", messages have already been issued this session ("Restoring...",
for instance); collect current history (ie, those new messages), for instance); collect current history (ie, those new messages),