From 696ddbf969b1c965cdcdb8b52466c4c058c8b16d Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 8 Mar 2016 20:36:56 +0100 Subject: [PATCH] Fix dressed-letter IDs in VariantMen PGN Tag Due to sign extension the ID suffxes would never be printed. --- moves.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.0.4