From 9f42d7d28b859796650bda0b7d5900199010948d Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 1 Mar 2014 16:09:09 +0100 Subject: [PATCH] Fix Board-dialog bug WB The drawing code for the sample square did ot restore the correct brush. --- winboard/woptions.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); -- 1.7.0.4