Fix: Some typos found using codespell

This commit is contained in:
JMcKiern
2019-09-29 21:27:32 +01:00
committed by Charles Pigott
parent 316e4e9417
commit 04f659e768
106 changed files with 176 additions and 176 deletions

View File

@@ -23,7 +23,7 @@ private:
};
/**
* Stateless, thread safe demand hander. Doesn't do anything but call DemandCalculator.
* Stateless, thread safe demand handler. Doesn't do anything but call DemandCalculator.
*/
class DemandHandler : public ComponentHandler {
public:

View File

@@ -6,7 +6,7 @@
#include "linkgraphjob_base.h"
/**
* Stateless, thread safe initialization hander. Initializes node and edge
* Stateless, thread safe initialization handler. Initializes node and edge
* annotations.
*/
class InitHandler : public ComponentHandler {

View File

@@ -62,7 +62,7 @@ void LinkGraphJob::SpawnThread()
{
if (!StartNewThread(&this->thread, "ottd:linkgraph", &(LinkGraphSchedule::Run), this)) {
/* Of course this will hang a bit.
* On the other hand, if you want to play games which make this hang noticably
* On the other hand, if you want to play games which make this hang noticeably
* on a platform without threads then you'll probably get other problems first.
* OK:
* If someone comes and tells me that this hangs for him/her, I'll implement a

View File

@@ -415,7 +415,7 @@ public:
protected:
/**
* Some boundaries to clamp agains in order to avoid integer overflows.
* Some boundaries to clamp against in order to avoid integer overflows.
*/
enum PathCapacityBoundaries {
PATH_CAP_MULTIPLIER = 16,

View File

@@ -250,7 +250,7 @@ void LinkRefresher::RefreshStats(const Order *cur, const Order *next)
/**
* Iterate over orders starting at \a cur and \a next and refresh links
* associated with them. \a cur and \a next can be equal. If they're not they
* must be "neigbours" in their order list, which means \a next must be directly
* must be "neighbours" in their order list, which means \a next must be directly
* reachable from \a cur without passing any further OT_GOTO_STATION or
* OT_IMPLICIT orders in between.
* @param cur Current order being evaluated.