From: H.G.Muller Date: Tue, 5 Apr 2016 19:05:11 +0000 (+0200) Subject: Enlarge background of startup message X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=27fc463ace574559a5e012587e1da15f124f97aa;p=xboard.git Enlarge background of startup message Because of rounding of the character size the message width exceeded the background for some square sizes. --- diff --git a/board.c b/board.c index f691696..a0ce36e 100644 --- a/board.c +++ b/board.c @@ -1059,7 +1059,7 @@ DrawPosition (int repaint, Board board) q = strchr(p, '\n'); if(q) *q = NULLCHAR; if(!strstr(appData.suppress, p)) { - if(i == 0) DrawSeekBackground(2*squareSize, 3*squareSize, 6*squareSize, 5*squareSize); + if(i == 0) DrawSeekBackground(2*squareSize, 3*squareSize, 6.5*squareSize, 5*squareSize); DrawText(p, 2*squareSize + 5, (int) ((3 + 0.3*i++)*squareSize) + 5, 2); } if(q) *q++ = '\n'; else q = "";