| 247 } else { |
248 } else { |
| 248 snpr = snprintf(moveblkptr, 16, "%s", |
249 snpr = snprintf(moveblkptr, 16, "%s", |
| 249 gamestate->moves[i].string); |
250 gamestate->moves[i].string); |
| 250 } |
251 } |
| 251 moveblkptr += snpr; |
252 moveblkptr += snpr; |
| |
253 |
| |
254 if (!export_comments) { |
| |
255 *(moveblkptr++) = ' '; |
| |
256 continue; |
| |
257 } |
| 252 |
258 |
| 253 /* add clock times when the game was under time control */ |
259 /* add clock times when the game was under time control */ |
| 254 if (gameinfo->timecontrol) { |
260 if (gameinfo->timecontrol) { |
| 255 memcpy(moveblkptr, " {[%clk ", 8); |
261 memcpy(moveblkptr, " {[%clk ", 8); |
| 256 moveblkptr += 8; |
262 moveblkptr += 8; |