Everywhere: Fix more typos

This commit is contained in:
Linus Groh 2020-10-02 22:14:37 +01:00 committed by Andreas Kling
commit bcfc6f0c57
Notes: sideshowbarker 2024-07-19 02:05:28 +09:00
57 changed files with 108 additions and 108 deletions

View file

@ -536,9 +536,9 @@ Board::Result Board::game_result() const
auto repeats = m_previous_states.get(*this);
if (repeats.has_value()) {
if (repeats.value() == 3)
return Result::ThreeFoldRepitition;
return Result::ThreeFoldRepetition;
if (repeats.value() >= 5)
return Result::FiveFoldRepitition;
return Result::FiveFoldRepetition;
}
return Result::NotFinished;

View file

@ -137,8 +137,8 @@ public:
StaleMate,
FiftyMoveRule,
SeventyFiveMoveRule,
ThreeFoldRepitition,
FiveFoldRepitition,
ThreeFoldRepetition,
FiveFoldRepetition,
InsufficientMaterial,
NotFinished,
};