From 28f4d7de9478caa0de572953072441ac4b33c0d1 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sun, 26 Oct 2025 19:29:48 +0100 Subject: [PATCH] Fix saving games as book The last move of each game would never be added to the book, due to use of < instead of <= when testing for the game end. --- book.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/book.c b/book.c index 5caea0f..f0b8c74 100644 --- a/book.c +++ b/book.c @@ -1061,7 +1061,7 @@ AddGameToBook (int always) } if(appData.debugMode) fprintf(debugFP, "add game to book (%d-%d)\n", backwardMostMove, forwardMostMove); - for(i=backwardMostMove; i