From fe1925931d671f7ff02c29558b2c61ae9fc8fbb5 Mon Sep 17 00:00:00 2001 From: TechGeekNZ Date: Sat, 6 Jun 2020 16:15:23 +1200 Subject: [PATCH] Cleanup: Correct typographic errors in code comments. --- src/cargopacket.h | 4 ++-- src/video/null_v.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cargopacket.h b/src/cargopacket.h index e34298895c..9892956211 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 2fa45e1bc8..707045040d 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 . */ -/** @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"