From 412011e58f2d42d9d2d40d55c15a36262bb91162 Mon Sep 17 00:00:00 2001 From: David PC Saiz Date: Wed, 8 Feb 2023 19:35:35 +0100 Subject: [PATCH] Anpassung von Parametern. --- src/Paper-Bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index eec46a9..42e93f1 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -199,7 +199,7 @@ void sortScoreboard() FILE* fp = fopen("ScoreBoard.txt", "w"); - for (int i = 0; i <= numberOfLines +1; i++) + for (int i = 0; i < numberOfLines; i++) { fprintf(fp, "%s %d\n", playerlist[i].Name, playerlist[i].Points); }