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?a=commitdiff_plain;h=b20313e027d4af1a5567a76803da47d7fa9100ee;p=xboard.git 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