summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2018-04-30 12:54:00 +0200
committerMichael Lutz <michi@icosahedron.de>2018-04-30 13:38:58 +0200
commitfa87212a76f168e28d2439cb658fbfe388c19036 (patch)
tree6248385b09d5ce772d393262e2066e513655aff5
parenta6b18f0d928bd4509faa200eaa0a3b76a2b2e126 (diff)
downloadopenttd-fa87212a76f168e28d2439cb658fbfe388c19036.tar.xz
Fix: Some spelling errors in printed messages
-rw-r--r--src/core/backup_type.hpp2
-rw-r--r--src/network/network_server.cpp2
-rw-r--r--src/video/sdl_v.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/backup_type.hpp b/src/core/backup_type.hpp
index 60799170f..7e3771b70 100644
--- a/src/core/backup_type.hpp
+++ b/src/core/backup_type.hpp
@@ -53,7 +53,7 @@ struct Backup {
{
/* We cannot assert here, as missing restoration is 'normal' when exceptions are thrown.
* Exceptions are especially used to abort world generation. */
- DEBUG(misc, 0, "%s:%d: Backupped value was not restored!", this->file, this->line);
+ DEBUG(misc, 0, "%s:%d: Backed-up value was not restored!", this->file, this->line);
this->Restore();
}
}
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index bcee40852..c406b454d 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -1115,7 +1115,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::Receive_CLIENT_COMMAND(Packet
}
if ((GetCommandFlags(cp.cmd) & CMD_SPECTATOR) == 0 && !Company::IsValidID(cp.company) && ci->client_id != CLIENT_ID_SERVER) {
- IConsolePrintF(CC_ERROR, "WARNING: spectator issueing command from client %d (IP: %s), kicking...", ci->client_id, this->GetClientIP());
+ IConsolePrintF(CC_ERROR, "WARNING: spectator issuing command from client %d (IP: %s), kicking...", ci->client_id, this->GetClientIP());
return this->SendError(NETWORK_ERROR_KICKED);
}
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp
index 3668f8602..81005ab04 100644
--- a/src/video/sdl_v.cpp
+++ b/src/video/sdl_v.cpp
@@ -323,7 +323,7 @@ bool VideoDriver_SDL::CreateMainSurface(uint w, uint h)
want_hwpalette = _use_hwpalette;
}
- if (want_hwpalette) DEBUG(driver, 1, "SDL: requesting hardware palete");
+ if (want_hwpalette) DEBUG(driver, 1, "SDL: requesting hardware palette");
/* Free any previously allocated shadow surface */
if (_sdl_screen != NULL && _sdl_screen != _sdl_realscreen) SDL_CALL SDL_FreeSurface(_sdl_screen);