]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Fix trivial typos
authorsfan5 <sfan5@live.de>
Sun, 19 Sep 2021 11:46:56 +0000 (13:46 +0200)
committersfan5 <sfan5@live.de>
Sun, 19 Sep 2021 11:54:20 +0000 (13:54 +0200)
src/client/client.h
src/client/renderingengine.cpp
src/network/clientpackethandler.cpp
src/script/cpp_api/s_mainmenu.h

index f6030b02299ffbe0fec0295ea285056c4d80e718..b0324ee90e0c57617dec8d7b39799185879729bf 100644 (file)
@@ -327,7 +327,7 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef
        }
        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
index 8491dda04c6800a1af1fae50b904cd2703fea3b0..0fdbc95dc3dd8b7dfca132af7e22f7c13998c008 100644 (file)
@@ -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);
index b2965c23d7644660329cb524740aa11191186cd7..d20a80fb7a1d85fa804f0f452bdb77c07cf117c2 100644 (file)
@@ -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);
index aef36ce39539f61a2ecbfff160eea88ec57acbc4..470577a29d81612133b4aa6795431eb2eb55e4eb 100644 (file)
@@ -38,7 +38,7 @@ class ScriptApiMainMenu : virtual public ScriptApiBase {
        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);