From 27fc463ace574559a5e012587e1da15f124f97aa Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 5 Apr 2016 21:05:11 +0200 Subject: [PATCH] Enlarge background of startup message Because of rounding of the character size the message width exceeded the background for some square sizes. --- board.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 = ""; -- 1.7.0.4