Implement (inaccessible) dark squares
[xboard.git] / winboard / winboard.c
index 2b13222..e5df6db 100644 (file)
@@ -3250,6 +3250,7 @@ BOOL HasHighlightInfo()
     }\r
 \r
     return result;\r
+\r
 }\r
 \r
 BOOL IsDrawArrowEnabled()\r
@@ -3441,6 +3442,7 @@ DrawBoardOnDC(HDC hdc, Board board, HDC tmphdc)
             DisplayHoldingsCount(hdc, x, y, flipView, (int) board[row][column]);\r
       else if( column == BOARD_RGHT) /* right align */\r
             DisplayHoldingsCount(hdc, x, y, !flipView, (int) board[row][column]);\r
+      else if( piece == DarkSquare) DisplayHoldingsCount(hdc, x, y, 0, 0);\r
       else\r
       if (appData.monoMode) {\r
         if (piece == EmptySquare) {\r