X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.c;h=2a8e187f8fb8cd5eb8659d784ac4d5c8bebd0653;hb=681dfc03596526017b3b8f39caef7f8f7c032987;hp=89728e1217047545c06a7df1e331dc96d5ecdb66;hpb=bf07cc0c5232c7cd486fab118defa0815ff89183;p=xboard.git diff --git a/moves.c b/moves.c index 89728e1..2a8e187 100644 --- a/moves.c +++ b/moves.c @@ -1500,6 +1500,7 @@ ChessMove CoordsToAlgebraic(board, flags, rf, ff, rt, ft, promoChar, out) CoordsToAlgebraicClosure cl; if (rf == DROP_RANK) { + if(ff == EmptySquare) { strncpy(outp, "--",3); return NormalMove; } // [HGM] pass /* Bughouse piece drop */ *outp++ = ToUpper(PieceToChar((ChessSquare) ff)); *outp++ = '@';