]> granicus.if.org Git - nethack/commitdiff
lint bit, shadowed 'restoring' (trunk only)
authornethack.rankin <nethack.rankin>
Mon, 23 Jan 2012 06:29:37 +0000 (06:29 +0000)
committernethack.rankin <nethack.rankin>
Mon, 23 Jan 2012 06:29:37 +0000 (06:29 +0000)
win/tty/topl.c

index cefdc89520a279704cc996a6d4785727cd748519..ed735f375bf1b344e9058e129613bfe5fa9397b0 100644 (file)
@@ -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),