From b20313e027d4af1a5567a76803da47d7fa9100ee Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sat, 7 May 2016 22:10:34 +0200 Subject: [PATCH] Erase markers before processing highlight FEN Markers from the Betza generator were only half-heartedly erased when a color-FEN camein through a highlight command, because FENs tend to skip empty squares in stretches. This was already fixed for the legal[][] array, but now it is fixed for the markers itself as well. --- backend.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/backend.c b/backend.c index 58e3f2e..241bf96 100644 --- a/backend.c +++ b/backend.c @@ -7399,11 +7399,10 @@ MarkByFEN(char *fen) { int r, f; if(!appData.markers || !appData.highlightDragging) return; - for(r=0; r= 'A' && *fen <= 'Z') legal[r][f] = 3; else -- 1.7.0.4