Small touches in position.h

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-10-03 09:23:04 +01:00
parent 80dd90f972
commit 1a8e3f0b2e
5 changed files with 26 additions and 28 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ void Position::print(Move move) const {
Square sq = make_square(file, rank);
Piece piece = piece_on(sq);
if (piece == PIECE_NONE && square_color(sq) == DARK)
if (piece == PIECE_NONE && color_of(sq) == DARK)
piece = PIECE_NONE_DARK_SQ;
char c = (color_of(piece_on(sq)) == BLACK ? '=' : ' ');