summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/autoreplace_cmd.cpp2
-rw-r--r--src/network/core/udp.cpp2
-rw-r--r--src/newgrf.cpp2
-rw-r--r--src/order_cmd.cpp2
-rw-r--r--src/settings.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/autoreplace_cmd.cpp b/src/autoreplace_cmd.cpp
index 9faf79611..7a2cecc64 100644
--- a/src/autoreplace_cmd.cpp
+++ b/src/autoreplace_cmd.cpp
@@ -181,7 +181,7 @@ static CargoID GetNewCargoTypeForReplace(Vehicle *v, EngineID engine_type)
} else {
if (!HasBit(available_cargo_types, cargo_type)) return CT_INVALID; // We can't refit the vehicle to carry the cargo we want
- if (!VerifyAutoreplaceRefitForOrders(v, engine_type)) return CT_INVALID; // Some refit orders loose their effect
+ if (!VerifyAutoreplaceRefitForOrders(v, engine_type)) return CT_INVALID; // Some refit orders lose their effect
/* Do we have to refit the vehicle, or is it already carrying the right cargo? */
uint16 *default_capacity = GetCapacityOfArticulatedParts(engine_type, v->type);
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 77a4c81ae..8035446c0 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -112,7 +112,7 @@ void NetworkUDPSocketHandler::ReceivePackets()
client_len = sizeof(client_addr);
/* Try to receive anything */
- SetNonBlocking(this->sock); // Some OSes seem to loose the non-blocking status of the socket
+ SetNonBlocking(this->sock); // Some OSes seem to lose the non-blocking status of the socket
nbytes = recvfrom(this->sock, (char*)p.buffer, packet_len, 0, (struct sockaddr *)&client_addr, &client_len);
/* We got some bytes for the base header of the packet. */
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index fafb1db17..cd57977f0 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -5737,7 +5737,7 @@ static void FinaliseIndustriesArray()
if (indsp->station_name != STR_NULL) {
/* STR_NULL (0) can be set by grf. It has a meaning regarding assignation of the
- * station's name. Don't wont to loose the value, therefor, do not process. */
+ * station's name. Don't want to lose the value, therefore, do not process. */
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->station_name);
if (strid != STR_UNDEFINED) indsp->station_name = strid;
}
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp
index 814d819b4..94330096a 100644
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -1198,7 +1198,7 @@ CommandCost CmdOrderRefit(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
/**
*
* Backup a vehicle order-list, so you can replace a vehicle
- * without loosing the order-list
+ * without losing the order-list
*
*/
void BackupVehicleOrders(const Vehicle *v, BackuppedOrders *bak)
diff --git a/src/settings.cpp b/src/settings.cpp
index b69767af2..a396d8734 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1061,7 +1061,7 @@ static int32 CheckTownLayout(int32 p1)
/** Conversion callback for _gameopt_settings_game.landscape
* It converts (or try) between old values and the new ones,
- * without loosing initial setting of the user
+ * without losing initial setting of the user
* @param value that was read from config file
* @return the "hopefully" converted value
*/