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=b20313e027d4af1a5567a76803da47d7fa9100ee;hp=dab09c65b7d1368500aa7c4c0a3d6f18557c1e55 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