From 3191ebfd542da1644e44baf91b6a315359aeefaa Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 2 Dec 2010 00:24:43 +0100 Subject: [PATCH] Fix fag-fell marker with logos on The flag-fell marker "(!)" that is displayed in the clock in WinBoard in two-machines mode was printed twice when the clock was split over two lines (as with logos on). --- winboard/winboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 1a90833..12bd085 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -7447,7 +7447,7 @@ DisplayAClock(HDC hdc, int timeRemaining, int highlight, rect, str, strlen(str), NULL); if(logoHeight > 0 && appData.clockMode) { RECT r; - snprintf(buf, sizeof(buf)/sizeof(buf[0]), "%s %s", buf+strlen(color)+2, flagFell); + str += strlen(color)+2; r.top = rect->top + logoHeight/2; r.left = rect->left; r.right = rect->right; -- 1.7.0.4