From 718cc20f00d8724c79d2c0e928696b476119af6d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Mar 2016 02:46:11 +0300 Subject: Fix typos. --- src/gui/widgets/tabs/setup_chat.cpp | 2 +- src/logger.cpp | 2 +- src/resources/mapreader.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/widgets/tabs/setup_chat.cpp b/src/gui/widgets/tabs/setup_chat.cpp index a005524c2..1a26fe131 100644 --- a/src/gui/widgets/tabs/setup_chat.cpp +++ b/src/gui/widgets/tabs/setup_chat.cpp @@ -269,7 +269,7 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : _("If this feature enabled, text in chat will be automatically " "adjusted to adapt to appearance of chat input field when you " "typing message and when input field of chat disappears. If disabled, " - "chat input area will allways occupy its place, which could be " + "chat input area will always occupy its place, which could be " "otherwise usable for text.\n\n" "Note: its mostly about jumpy attitude vs " "less usable space for text."), diff --git a/src/logger.cpp b/src/logger.cpp index c2538803d..2368f6f2e 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -368,7 +368,7 @@ void Logger::error(const std::string &error_text) // (ConstStr255Param) msg, nullptr, nullptr); #elif defined(__linux__) || defined(_linux) std::cerr << "Error: " << error_text << std::endl; - const std::string msg("xmessage \"Error happend. " + const std::string msg("xmessage \"Error happened. " "Please see log file for more information.\""); if (system(msg.c_str()) == -1) std::cerr << "Error: " << error_text << std::endl; diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 555185094..73317fcba 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -324,7 +324,7 @@ Map *MapReader::readMap(XmlNodePtrConst node, const std::string &path) if (tilew < 0 || tileh < 0) { logger->log("MapReader: Warning: " - "Unitialized tile width or height value for map: %s", + "Uninitialized tile width or height value for map: %s", path.c_str()); BLOCK_END("MapReader::readMap xml") return nullptr; -- cgit v1.2.3-70-g09d2