From: H.G.Muller Date: Tue, 8 Mar 2016 19:36:56 +0000 (+0100) Subject: Fix dressed-letter IDs in VariantMen PGN Tag X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=696ddbf969b1c965cdcdb8b52466c4c058c8b16d;p=xboard.git Fix dressed-letter IDs in VariantMen PGN Tag Due to sign extension the ID suffxes would never be printed. --- diff --git a/moves.c b/moves.c index d0fc45e..843593d 100644 --- a/moves.c +++ b/moves.c @@ -206,8 +206,8 @@ CollectPieceDescriptors () // but suppress black pieces that are the same as their white counterpart ChessSquare p; static char buf[MSG_SIZ], s[2]; - char *m, c, d, *pieceName = defaultName; - int len; + char *m, *pieceName = defaultName; + int len, c, d; *buf = NULLCHAR; if(!pieceDefs) return ""; if(gameInfo.variant == VariantChu) return ""; // for now don't do this for Chu Shogi