From: nethack.allison Date: Mon, 10 Jan 2005 01:13:03 +0000 (+0000) Subject: yet another bit X-Git-Tag: MOVE2GIT~1359 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d957558be4367668bb12b649ba8e228c5e1d0630;p=nethack yet another bit --- diff --git a/src/files.c b/src/files.c index 713ea6c06..372b091e9 100644 --- a/src/files.c +++ b/src/files.c @@ -1035,9 +1035,9 @@ get_saved_games() Sprintf(SAVEF, "%s*.NetHack-saved-game", encodedfnamebuf); fq_save = fqname(SAVEF, SAVEPREFIX, 0); + n = 0; foundfile = foundfile_buffer(); if (findfirst((char *)fq_save)) { - n = 0; do { ++n; } while (findnext());