aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-09-19 13:46:56 +0200
committersfan5 <sfan5@live.de>2021-09-19 13:54:20 +0200
commite0529da5c84f224c380e6d5e063392cb01f85683 (patch)
treebd5ec775a56f78d62f2bd6f6901936da26b1604f
parent16a62426d6ac2f88125d258256af31bc2114b960 (diff)
downloadminetest-e0529da5c84f224c380e6d5e063392cb01f85683.tar.gz
minetest-e0529da5c84f224c380e6d5e063392cb01f85683.tar.bz2
minetest-e0529da5c84f224c380e6d5e063392cb01f85683.zip
Fix trivial typos
-rw-r--r--src/client/client.h2
-rw-r--r--src/client/renderingengine.cpp2
-rw-r--r--src/network/clientpackethandler.cpp4
-rw-r--r--src/script/cpp_api/s_mainmenu.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/client/client.h b/src/client/client.h
index f6030b022..b0324ee90 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -327,7 +327,7 @@ public:
}
inline void setFatalError(const LuaError &e)
{
- setFatalError(std::string("Lua :") + e.what());
+ setFatalError(std::string("Lua: ") + e.what());
}
// Renaming accessDeniedReason to better name could be good as it's used to
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp
index 8491dda04..0fdbc95dc 100644
--- a/src/client/renderingengine.cpp
+++ b/src/client/renderingengine.cpp
@@ -252,7 +252,7 @@ void RenderingEngine::setupTopLevelXorgWindow(const std::string &name)
// force a shutdown of an application if it doesn't respond to the destroy
// window message.
- verbosestream << "Client: Setting Xorg _NET_WM_PID extened window manager property"
+ verbosestream << "Client: Setting Xorg _NET_WM_PID extended window manager property"
<< std::endl;
Atom NET_WM_PID = XInternAtom(x11_dpl, "_NET_WM_PID", false);
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp
index b2965c23d..d20a80fb7 100644
--- a/src/network/clientpackethandler.cpp
+++ b/src/network/clientpackethandler.cpp
@@ -88,7 +88,7 @@ void Client::handleCommand_Hello(NetworkPacket* pkt)
// This is only neccessary though when we actually want to add casing support
if (m_chosen_auth_mech != AUTH_MECHANISM_NONE) {
- // we recieved a TOCLIENT_HELLO while auth was already going on
+ // we received a TOCLIENT_HELLO while auth was already going on
errorstream << "Client: TOCLIENT_HELLO while auth was already going on"
<< "(chosen_mech=" << m_chosen_auth_mech << ")." << std::endl;
if (m_chosen_auth_mech == AUTH_MECHANISM_SRP ||
@@ -156,7 +156,7 @@ void Client::handleCommand_AcceptSudoMode(NetworkPacket* pkt)
m_password = m_new_password;
- verbosestream << "Client: Recieved TOCLIENT_ACCEPT_SUDO_MODE." << std::endl;
+ verbosestream << "Client: Received TOCLIENT_ACCEPT_SUDO_MODE." << std::endl;
// send packet to actually set the password
startAuth(AUTH_MECHANISM_FIRST_SRP);
diff --git a/src/script/cpp_api/s_mainmenu.h b/src/script/cpp_api/s_mainmenu.h
index aef36ce39..470577a29 100644
--- a/src/script/cpp_api/s_mainmenu.h
+++ b/src/script/cpp_api/s_mainmenu.h
@@ -38,7 +38,7 @@ public:
void handleMainMenuEvent(std::string text);
/**
- * process field data recieved from formspec
+ * process field data received from formspec
* @param fields data in field format
*/
void handleMainMenuButtons(const StringMap &fields);