X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fnotation.cpp;h=20b4378eb12dfc4a37c8bdc9e7f80bfc28edcceb;hp=a1b95bc087650858f10e2de33cff3ede5f69218b;hb=13a73f67c018e58b2fd46f886c45ef2b75188c8e;hpb=500b9b0eb3b20ef58ff1280a089ab2ef1e3c6436 diff --git a/src/notation.cpp b/src/notation.cpp index a1b95bc0..20b4378e 100644 --- a/src/notation.cpp +++ b/src/notation.cpp @@ -126,8 +126,8 @@ const string move_to_san(Position& pos, Move m) { { san = PieceToChar[WHITE][pt]; // Upper case - // Disambiguation if we have more then one piece of type 'pt' that can - // reach 'to' with a legal move. + // A disambiguation occurs if we have more then one piece of type 'pt' + // that can reach 'to' with a legal move. others = b = (pos.attacks_from(pc, to) & pos.pieces(us, pt)) ^ from; while (b) @@ -175,7 +175,7 @@ const string move_to_san(Position& pos, Move m) { /// pretty_pv() formats human-readable search information, typically to be /// appended to the search log file. It uses the two helpers below to pretty -/// format time and score respectively. +/// format the time and score respectively. static string time_to_string(int64_t msecs) {