summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-06 16:15:23 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-07 01:04:41 +0100
commitfe1925931d671f7ff02c29558b2c61ae9fc8fbb5 (patch)
treeb9e80e6a981679cc6842ac1cbd5abd4ec8e9f1cb /src
parent3d8597d42ef5ef10325389aa866c8c136cde9412 (diff)
downloadopenttd-fe1925931d671f7ff02c29558b2c61ae9fc8fbb5.tar.xz
Cleanup: Correct typographic errors in code comments.
Diffstat (limited to 'src')
-rw-r--r--src/cargopacket.h4
-rw-r--r--src/video/null_v.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h
index e34298895..989295621 100644
--- a/src/cargopacket.h
+++ b/src/cargopacket.h
@@ -423,7 +423,7 @@ public:
uint Reroute(uint max_move, VehicleCargoList *dest, StationID avoid, StationID avoid2, const GoodsEntry *ge);
/**
- * Are two the two CargoPackets mergeable in the context of
+ * Are the two CargoPackets mergeable in the context of
* a list of CargoPackets for a Vehicle?
* @param cp1 First CargoPacket.
* @param cp2 Second CargoPacket.
@@ -486,7 +486,7 @@ public:
while (!next.IsEmpty()) {
if (this->packets.find(next.Pop()) != this->packets.end()) return true;
}
- /* Packets for INVALID_STTION can go anywhere. */
+ /* Packets for INVALID_STATION can go anywhere. */
return this->packets.find(INVALID_STATION) != this->packets.end();
}
diff --git a/src/video/null_v.cpp b/src/video/null_v.cpp
index 2fa45e1bc..707045040 100644
--- a/src/video/null_v.cpp
+++ b/src/video/null_v.cpp
@@ -5,7 +5,7 @@
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
-/** @file null_v.cpp The videio driver that doesn't blit. */
+/** @file null_v.cpp The video driver that doesn't blit. */
#include "../stdafx.h"
#include "../gfx_func.h"