From: nethack.rankin Date: Mon, 23 Jan 2012 06:29:37 +0000 (+0000) Subject: lint bit, shadowed 'restoring' (trunk only) X-Git-Tag: MOVE2GIT~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa80181ed0a836a49a63e87600da24a06c988509;p=nethack lint bit, shadowed 'restoring' (trunk only) --- diff --git a/win/tty/topl.c b/win/tty/topl.c index cefdc8952..ed735f375 100644 --- a/win/tty/topl.c +++ b/win/tty/topl.c @@ -627,14 +627,14 @@ boolean init; * message history for ^P recall without having displayed it. */ void -tty_putmsghistory(msg, restoring) +tty_putmsghistory(msg, restoring_msghist) const char *msg; -boolean restoring; +boolean restoring_msghist; { static boolean initd = FALSE; int idx; - if (restoring && !initd) { + if (restoring_msghist && !initd) { /* we're restoring history from the previous session, but new messages have already been issued this session ("Restoring...", for instance); collect current history (ie, those new messages),