From: H.G. Muller Date: Wed, 1 Dec 2010 23:24:43 +0000 (+0100) Subject: Fix fag-fell marker with logos on X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=3191ebfd542da1644e44baf91b6a315359aeefaa;p=xboard.git 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). --- 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;