X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.c;h=96bca01f0cb9c039e151cff4bb18a044ce4b2f76;hb=4385cc4c1ac6cf82a28b2990d62f934f4f3038b1;hp=8c47c62779852b20274864afcca61c1eb521b597;hpb=0e26c6ad0a2958900703e77da3fdbe7fabfa620c;p=xboard.git diff --git a/winboard/winboard.c b/winboard/winboard.c index 8c47c62..96bca01 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -3163,9 +3163,9 @@ void DrawSeekText(char *buf, int x, int y) void DrawSeekDot(int x, int y, int color) { int square = color & 0x80; - color &= 0x7F; - HBRUSH oldBrush = SelectObject(hdcSeek, + HBRUSH oldBrush = SelectObject(hdcSeek, color == 0 ? markerBrush : color == 1 ? darkSquareBrush : explodeBrush); + color &= 0x7F; if(square) Rectangle(hdcSeek, boardRect.left+x - squareSize/9, boardRect.top+y - squareSize/9, boardRect.left+x + squareSize/9, boardRect.top+y + squareSize/9);