From: H.G. Muller Date: Sun, 17 Jan 2010 13:24:12 +0000 (+0100) Subject: Fix OO-castling in FRC after pasting FEN X-Git-Tag: v4.4.3.20100118~1 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=02b85711ba28b66862dff72c6fddc121e7f1b57f;p=xboard.git Fix OO-castling in FRC after pasting FEN Because the FEN parser did not set initialRights, the rights from the previous game kept hanging there, and prevented recognition of OO-castling (although KxR castling was still understood). --- diff --git a/backend.c b/backend.c index a220324..28c5546 100644 --- a/backend.c +++ b/backend.c @@ -13981,6 +13981,8 @@ ParseFEN(board, blackPlaysFirst, fen) } } } + for(i=0; i= 0) initialRights[i] = FENcastlingRights[i]; if (appData.debugMode) { fprintf(debugFP, "FEN castling rights:"); for(i=0; i