X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=backend.c;fp=backend.c;h=55cb25364cc37d5ffc4048596fd5beb86f29884e;hp=f5e2b858bb9847829f8a02d616ad1ba5d7cfb272;hb=0fe341b64ac865097b5182ec7740fe18802efbd2;hpb=ebf8f690dfc868c231baacd2232840e14586d00f diff --git a/backend.c b/backend.c index f5e2b85..55cb253 100644 --- a/backend.c +++ b/backend.c @@ -13925,6 +13925,10 @@ SaveGamePGN2 (FILE *f) snprintf(buf, MSG_SIZ, " %d:%02d%c", seconds/60, seconds%60, 0); } + if(appData.cumulativeTimePGN) { + snprintf(buf, MSG_SIZ, " %+ld", timeRemaining[i & 1][i+1]/1000); + } + snprintf( move_buffer, sizeof(move_buffer)/sizeof(move_buffer[0]),"{%s%.2f/%d%s}", pvInfoList[i].score >= 0 ? "+" : "", pvInfoList[i].score / 100.0,