projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7a71a
)
Fix broken uci notation for promotions
author
Marco Costalba
<mcostalba@gmail.com>
Fri, 26 Oct 2012 14:04:59 +0000
(16:04 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Fri, 26 Oct 2012 14:06:47 +0000
(16:06 +0200)
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.
src/notation.cpp
patch
|
blob
|
history
diff --git
a/src/notation.cpp
b/src/notation.cpp
index db5f58b90d3099e1eae631d33cefca8791227d3d..dea72441620b3a0ddb5bdd6a2b3fd4adcf2a6af0 100644
(file)
--- 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