Fix Board-dialog bug WB
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 1 Mar 2014 15:09:09 +0000 (16:09 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sun, 2 Mar 2014 18:04:48 +0000 (19:04 +0100)
The drawing code for the sample square did ot restore the correct brush.

winboard/woptions.c

index a42b513..977c0c6 100644 (file)
@@ -440,7 +440,7 @@ PaintSampleSquare(
   /*\r
    * clean up\r
    */\r
-  SelectObject(hdcMem, oldBrushPiece);\r
+  SelectObject(hdcMem, oldBrushSquare);\r
   SelectObject(hdcMem, oldPen);\r
   DeleteObject(brushPiece);\r
   DeleteObject(brushPieceDetail);\r