From 7b3881ae11275d34512d60456ad75eb3cd977df6 Mon Sep 17 00:00:00 2001 From: Oliver Galvin Date: Thu, 18 Jun 2020 10:34:26 +0100 Subject: A few miscellaneous typo fixes --- game.h | 4 ++-- quacker/quacker.h | 2 +- sim.cpp | 2 +- sim.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/game.h b/game.h index 6d68bf4..7cf5708 100644 --- a/game.h +++ b/game.h @@ -296,7 +296,7 @@ public: // the move made will // be set to the proper UnusedTilesBonus move. // The score of the bonus is *not* added to score of current player, - // therefor this method is quite misnamed. + // therefore this method is quite misnamed. void adjustScoresToFinishGame(); // this is a little special: don't subtract score of bonus from @@ -824,7 +824,7 @@ public: // If the game is over, does nothing. void commitCandidate(bool maintainBoard = true); - // convience to set move as candidate and then commit the candidate + // convenience to set move as candidate and then commit the candidate void commitMove(const Move &move); const UVString &description() const; diff --git a/quacker/quacker.h b/quacker/quacker.h index b56b91b..c33de29 100644 --- a/quacker/quacker.h +++ b/quacker/quacker.h @@ -174,7 +174,7 @@ protected slots: // handle an overdraw void overdraw(); - void statusMessage(const QString &mesage); + void statusMessage(const QString &message); // set game's candidate to move and update views void setCandidateMove(const Quackle::Move &move, bool *carryOnPtr = nullptr); diff --git a/sim.cpp b/sim.cpp index 30ccc3d..8fa9cab 100644 --- a/sim.cpp +++ b/sim.cpp @@ -428,7 +428,7 @@ void Simulator::simulateOnePosition(SimmedMoveMessage &message, const SimmedMove residual -= residualAddend; } - // commiting the move will account for deadwood again + // committing the move will account for deadwood again // so avoid double counting from above. move.score -= deadwoodScore; game.setCandidate(move); diff --git a/sim.h b/sim.h index 6c66121..0a46c89 100644 --- a/sim.h +++ b/sim.h @@ -311,7 +311,7 @@ public: void simulate(int plies); static void simulateOnePosition(SimmedMoveMessage &message, const SimmedMoveConstants &constants); - // Incoporate the results of a single simulation into the + // Incorporate the results of a single simulation into the // cumulative results void incorporateMessage(const SimmedMoveMessage &message); -- cgit v1.2.3