mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix trivial typos
This commit is contained in:
parent
16a62426d6
commit
e0529da5c8
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user