fen.c: tiny cleanup, rm 1 line - chess-puzzles - chess puzzle book generator
(HTM) git clone git://git.codemadness.org/chess-puzzles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 340135cbaf1e942bafaa617b805aef4090601555
(DIR) parent 207a970e589950d41fe4512c6687131f5ed60e82
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 22 Jul 2025 15:27:47 +0200
fen.c: tiny cleanup, rm 1 line
Diffstat:
M fen.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/fen.c b/fen.c
@@ -609,11 +609,10 @@ output_tty(struct board *b)
fputs(" ", stdout);
}
if (b->showside) {
- if (b->side_to_move == 'w') {
+ if (b->side_to_move == 'w')
printf("\x1b[30;47m%c", b->side_to_move);
- } else {
+ else
printf("\x1b[37;40m%c", b->side_to_move);
- }
} else {
putchar(' ');
}