comparison: src/chess/pgn.c
src/chess/pgn.c
- changeset 65
- dcc5bd2c56c0
- parent 64
- 4eda5df55f86
- child 70
- 5427beba96d1
equal
deleted
inserted
replaced
| 197 } |
197 } |
| 198 |
198 |
| 199 // TODO: move time and maybe other comments |
199 // TODO: move time and maybe other comments |
| 200 |
200 |
| 201 /* line break every 10 moves */ |
201 /* line break every 10 moves */ |
| 202 if (i % 20) { |
202 if ((i-1) % 20) { |
| 203 fputc(' ', stream); |
203 fputc(' ', stream); |
| 204 } else { |
204 } else { |
| 205 fputc('\n', stream); |
205 fputc('\n', stream); |
| 206 } |
206 } |
| 207 } |
207 } |