projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix printing of 'x' in position diagram
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
54c16be
..
3f673a5
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-16277,7
+16277,7
@@
PrintPosition (FILE *fp, int move)
for (i = BOARD_HEIGHT - 1; i >= 0; i--) {
for (j = BOARD_LEFT; j < BOARD_RGHT; j++) {
char c = PieceToChar(boards[move][i][j]);
- fputc(c == 'x' ? '.' : c, fp);
+ fputc(c == '?' ? '.' : c, fp);
fputc(j == BOARD_RGHT - 1 ? '\n' : ' ', fp);
}
}