1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

Everywhere: Fix more typos

This commit is contained in:
Linus Groh 2020-10-02 22:14:37 +01:00 committed by Andreas Kling
parent 4e86c34ef0
commit bcfc6f0c57
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;