projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5fcd68c
)
Fix Board-dialog bug WB
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 1 Mar 2014 15:09:09 +0000 (16:09 +0100)
committer
H.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
patch
|
blob
|
history
diff --git
a/winboard/woptions.c
b/winboard/woptions.c
index
a42b513
..
977c0c6
100644
(file)
--- a/
winboard/woptions.c
+++ b/
winboard/woptions.c
@@
-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