X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;fp=src%2Fbitboard.cpp;h=3bb3ff8f8d5777ab0aa9ccf9e3928d3e94280051;hp=f650eef68627671dee2b3892e60f6d75b8cbff5b;hb=d0cb9b286f4d7415be002855201e75340c8adef0;hpb=1c65310c0e5ac639a51c3d6b9b114d48aa57bdd8 diff --git a/src/bitboard.cpp b/src/bitboard.cpp index f650eef6..3bb3ff8f 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -56,8 +56,9 @@ const std::string Bitboards::pretty(Bitboard b) { for (File f = FILE_A; f <= FILE_H; ++f) s += b & make_square(f, r) ? "| X " : "| "; - s += "|\n+---+---+---+---+---+---+---+---+\n"; + s += "| " + std::to_string(1 + r) + "\n+---+---+---+---+---+---+---+---+\n"; } + s += " a b c d e f g h\n"; return s; }