From: H.G.Muller Date: Sat, 7 May 2016 20:10:34 +0000 (+0200) Subject: Erase markers before processing highlight FEN X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=95b8c00f4614ca7c7a1fa6b2e176d7d750c79ceb 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. --- 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