From: Marco Costalba Date: Sun, 28 Sep 2008 09:54:50 +0000 (+0100) Subject: position.cpp: fix a typo introduced by recent patch X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=e9e51da4b87b5122e7c608b49395d2f77ff9b045 position.cpp: fix a typo introduced by recent patch Signed-off-by: Marco Costalba --- diff --git a/src/position.cpp b/src/position.cpp index 8d63c52f..98d957cc 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -106,7 +106,7 @@ void Position::from_fen(const std::string &fen) { // Side to move i++; - if (fen[i] != 'w' && fen[i] == 'b') + if (fen[i] != 'w' && fen[i] != 'b') { std::cout << "Error in FEN at character " << i << std::endl; return;