X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=48f075de4db5447a4d5d0697c9f38aefc18aae83;hb=47b01ac7b7d35856fae5bef60de3255e8f0d4ae5;hp=d7c050becde042c7950f3fe9558ca64bc5c4ff10;hpb=44545b87e12b58945eddcbc76c1827bead814aae;p=xboard.git diff --git a/board.c b/board.c index d7c050b..48f075d 100644 --- a/board.c +++ b/board.c @@ -817,6 +817,7 @@ DrawSquare (int row, int column, ChessSquare piece, int do_flash) snprintf(tString, 3, "%d", piece); align = 4; // holdings count in upper-left corner } + if(piece == DarkSquare) square_color = 2; if(square_color == 2 || appData.blindfold) piece = EmptySquare; if (do_flash && piece != EmptySquare && appData.flashCount > 0) {