]> git.sesse.net Git - stockfish/blobdiff - src/notation.cpp
Fix broken uci notation for promotions
[stockfish] / src / notation.cpp
index db5f58b90d3099e1eae631d33cefca8791227d3d..dea72441620b3a0ddb5bdd6a2b3fd4adcf2a6af0 100644 (file)
@@ -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