From: H.G. Muller Date: Sun, 17 Jan 2010 13:17:10 +0000 (+0100) Subject: Fix parsing of O-O and O-O-O after FEN pasting in FRC X-Git-Tag: master-20100118~4 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=279acb024a1a07a66d0591c51b2893d7ecb14c79;p=xboard.git Fix parsing of O-O and O-O-O after FEN pasting in FRC Because the initial rights were not set in the FEN reader, the initial rights of the previous game remained in force, so that the parser did not understand OO-castling (although it would allow KxR castling). --- diff --git a/backend.c b/backend.c index 7a8aee2..3480a11 100644 --- a/backend.c +++ b/backend.c @@ -14220,6 +14220,8 @@ ParseFEN(board, blackPlaysFirst, fen) } } } + for(i=0; i