projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix parsing of O-O and O-O-O after FEN pasting in FRC
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
7a8aee2
..
3480a11
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-14220,6
+14220,8
@@
ParseFEN(board, blackPlaysFirst, fen)
}
}
}
+ for(i=0; i<nrCastlingRights; i++)
+ if(board[CASTLING][i] != NoRights) initialRights[i] = board[CASTLING][i];
if (appData.debugMode) {
fprintf(debugFP, "FEN castling rights:");
for(i=0; i<nrCastlingRights; i++)