X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fnotation.cpp;h=4de10aceb3e00fe8aa4b0723658252114d449eef;hp=a1b95bc087650858f10e2de33cff3ede5f69218b;hb=b534176d4acc15ca5d7fdf3f44d1afb4e33c899a;hpb=f99cb3dc27719021e126690b7fd5aa5f43663ed8 diff --git a/src/notation.cpp b/src/notation.cpp index a1b95bc0..4de10ace 100644 --- a/src/notation.cpp +++ b/src/notation.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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) {