X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.c;h=92c0371b83919ba08d0c6fc233be0d33f0f6515d;hb=9089c023e881715fe42fe104d24df44489cd3e35;hp=bd516de404f8506cff35ceaf6d547810ee3de331;hpb=acceebbe37c9c4ad05f74dbfaf327d20171c874f;p=xboard.git diff --git a/moves.c b/moves.c index bd516de..92c0371 100644 --- a/moves.c +++ b/moves.c @@ -126,7 +126,7 @@ char PieceToChar (ChessSquare p) { int c; - if((int)p < 0 || (int)p >= (int)EmptySquare) return('x'); /* [HGM] for safety */ + if((int)p < 0 || (int)p >= (int)EmptySquare) return('?'); /* [HGM] for safety */ c = pieceToChar[(int) p]; if(c & 128) c = c & 63 | 64; return c;