From: Marco Costalba Date: Fri, 26 Oct 2012 14:04:59 +0000 (+0200) Subject: Fix broken uci notation for promotions X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=00a853950f56f315d9f26a67e54a187762992a9d;hp=4c7a71a44bbe37a5e5dd971650c9b22790cae302 Fix broken uci notation for promotions Silly typo (introduced in e304db9d1ecf6a23) completely messed up move notation in case of promotions causing "Illegal move" warning in cutechess-cli. Reported by Jörg Oster. No functional change. --- diff --git a/src/notation.cpp b/src/notation.cpp index db5f58b9..dea72441 100644 --- a/src/notation.cpp +++ b/src/notation.cpp @@ -28,7 +28,7 @@ using namespace std; -static const char* PieceToChar[COLOR_NB] = { "PNBRQK", "pnbrqk" }; +static const char* PieceToChar[COLOR_NB] = { " PNBRQK", " pnbrqk" }; /// score_to_uci() converts a value to a string suitable for use with the UCI