From: H.G. Muller Date: Thu, 25 Feb 2010 14:13:00 +0000 (+0100) Subject: Print seconds with 2 digits in backgroundObserve status line X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=54b17bcdf64bf2f4745e769151a249b2999e8826;p=xboard.git Print seconds with 2 digits in backgroundObserve status line --- diff --git a/backend.c b/backend.c index c4da592..cf62bb4 100644 --- a/backend.c +++ b/backend.c @@ -3833,7 +3833,7 @@ ParseBoard12(string) CopyBoard(partnerBoard, board); if(partnerUp) DrawPosition(FALSE, partnerBoard); if(twoBoards) { partnerUp = 0; flipView = !flipView; DrawPosition(TRUE, boards[currentMove]); } // [HGM] dual: redraw own game! - sprintf(partnerStatus, "W: %d:%d B: %d:%d (%d-%d) %c", white_time/60000, (white_time%60000)/1000, + sprintf(partnerStatus, "W: %d:%02d B: %d:%02d (%d-%d) %c", white_time/60000, (white_time%60000)/1000, (black_time/60000), (black_time%60000)/1000, white_stren, black_stren, to_play); DisplayMessage(partnerStatus, ""); partnerBoardValid = TRUE;