diff -u -r angband-290/src/files.c angband/src/files.c
--- angband-290/src/files.c	Mon Apr 10 07:42:28 2000
+++ angband/src/files.c	Thu Jun  8 21:45:00 2000
@@ -3280,7 +3299,8 @@
 {
 	char ch;
 
-	int i, j, k, n, place;
+	int j, k, n, place;
+	int count;
 
 	high_score the_score;
 
@@ -3304,20 +3324,20 @@
 	if (highscore_seek(0)) return;
 
 	/* Hack -- Count the high scores */
-	for (i = 0; i < MAX_HISCORES; i++)
+	for (count = 0; count < MAX_HISCORES; count++)
 	{
 		if (highscore_read(&the_score)) break;
 	}
 
 	/* Hack -- allow "fake" entry to be last */
-	if ((note == i) && score) i++;
+	if ((note == count) && score) count++;
 
 	/* Forget about the last entries */
-	if (i > to) i = to;
+	if (count > to) count = to;
 
 
 	/* Show 5 per page, until "done" */
-	for (k = from, place = k+1; k < i; k += 5)
+	for (k = from, j = from, place = k+1; k < count; k += 5)
 	{
 		/* Clear screen */
 		Term_clear();
@@ -3328,12 +3348,12 @@
 		/* Indicate non-top scores */
 		if (k > 0)
 		{
-			sprintf(tmp_val, "(from position %d)", k + 1);
+			sprintf(tmp_val, "(from position %d)", place);
 			put_str(tmp_val, 0, 40);
 		}
 
 		/* Dump 5 entries */
-		for (j = k, n = 0; j < i && n < 5; place++, j++, n++)
+		for (n = 0; j < count && n < 5; place++, j++, n++)
 		{
 			int pr, pc, clev, mlev, cdun, mdun;
 

