From 9d51fbcf5ae0885f2e4855cc8805f3684dd8e0d9 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 8 Sep 2014 19:06:35 +0200 Subject: [PATCH] Limit auto-extending to click on first move of PV Even when auto-exted on clicks on the tail of a PV will no longer cause any moves to be added to the game. Only clicks on or before the first move can do that now. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 1c4bddc..0ef05b0 100644 --- a/backend.c +++ b/backend.c @@ -5680,7 +5680,7 @@ LoadMultiPV (int x, int y, char *buf, int index, int *start, int *end, int pane) } ParsePV(buf+startPV, FALSE, gameMode != AnalyzeMode); *start = startPV; *end = index-1; - extendGame = (gameMode == AnalyzeMode && appData.autoExtend); + extendGame = (gameMode == AnalyzeMode && appData.autoExtend && origIndex - startPV < 5); return TRUE; } -- 1.7.0.4