From: H.G. Muller Date: Sat, 1 Mar 2014 15:09:09 +0000 (+0100) Subject: Fix Board-dialog bug WB X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=9f42d7d28b859796650bda0b7d5900199010948d;p=xboard.git Fix Board-dialog bug WB The drawing code for the sample square did ot restore the correct brush. --- diff --git a/winboard/woptions.c b/winboard/woptions.c index a42b513..977c0c6 100644 --- a/winboard/woptions.c +++ b/winboard/woptions.c @@ -440,7 +440,7 @@ PaintSampleSquare( /* * clean up */ - SelectObject(hdcMem, oldBrushPiece); + SelectObject(hdcMem, oldBrushSquare); SelectObject(hdcMem, oldPen); DeleteObject(brushPiece); DeleteObject(brushPieceDetail);