diff --git a/src/addons/news_manager.cpp b/src/addons/news_manager.cpp index a69a1cd9a..697ff211e 100644 --- a/src/addons/news_manager.cpp +++ b/src/addons/news_manager.cpp @@ -49,7 +49,7 @@ NewsManager::~NewsManager() // --------------------------------------------------------------------------- /** This function initialises the data for the news manager. It starts a - * separate thread to execute downloadNews() - which (if necessary) downaloads + * separate thread to execute downloadNews() - which (if necessary) downloads * the news.xml file and updates the list of news messages. It also * initialises the addons manager (which can trigger another download of * news.xml). @@ -458,7 +458,7 @@ bool NewsManager::conditionFulfilled(const std::string &cond) // ============================== else if(cond[1]=="not" && cond[2]=="installed") { - // The addons_manager can not be access, since it's + // The addons_manager cannot be accessed, since it's // being initialised after the news manager. So a simple // test is made to see if the directory exists. It is // necessary to check for karts and tracks separately, diff --git a/src/config/player_manager.cpp b/src/config/player_manager.cpp index 3fadcaa89..c7025ad83 100644 --- a/src/config/player_manager.cpp +++ b/src/config/player_manager.cpp @@ -326,7 +326,7 @@ void PlayerManager::enforceCurrentPlayer() { if (!player->isGuestAccount()) { - Log::info("PlayerManager", "Enfocring current player '%ls'.", + Log::info("PlayerManager", "Enforcing current player '%ls'.", player->getName().c_str() ); m_current_player = player; return; @@ -340,7 +340,7 @@ void PlayerManager::enforceCurrentPlayer() { if (!player->isGuestAccount()) { - Log::info("PlayerManager", "Enfocring current player '%s'.", + Log::info("PlayerManager", "Enforcing current player '%s'.", player->getName().c_str()); m_current_player = player; return; @@ -353,8 +353,8 @@ void PlayerManager::enforceCurrentPlayer() // ---------------------------------------------------------------------------- /** Called when no player profiles exists. It creates two players: one - * guest player, and one non-guest player for whic hit tries to guess a - * mame based on environment variables. + * guest player, and one non-guest player for which it tries to guess a + * name based on environment variables. */ void PlayerManager::addDefaultPlayer() {