diff options
author | JMcKiern <jmckiern@tcd.ie> | 2019-09-29 21:27:32 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-09-29 21:27:32 +0100 |
commit | 04f659e768486da4fc73a97a633f140d9733bf78 (patch) | |
tree | 7d1ecef7d6a39891d2485ae8a0ef8f12673d2b93 /src/linkgraph | |
parent | 316e4e94171d8d269b80dd9e329fc1fe610fbfe2 (diff) | |
download | openttd-04f659e768486da4fc73a97a633f140d9733bf78.tar.xz |
Fix: Some typos found using codespell
Diffstat (limited to 'src/linkgraph')
-rw-r--r-- | src/linkgraph/demands.h | 2 | ||||
-rw-r--r-- | src/linkgraph/init.h | 2 | ||||
-rw-r--r-- | src/linkgraph/linkgraphjob.cpp | 2 | ||||
-rw-r--r-- | src/linkgraph/linkgraphjob.h | 2 | ||||
-rw-r--r-- | src/linkgraph/refresh.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/linkgraph/demands.h b/src/linkgraph/demands.h index 8a639b8b1..6fe376834 100644 --- a/src/linkgraph/demands.h +++ b/src/linkgraph/demands.h @@ -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: diff --git a/src/linkgraph/init.h b/src/linkgraph/init.h index a39a0f820..377c88631 100644 --- a/src/linkgraph/init.h +++ b/src/linkgraph/init.h @@ -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 { diff --git a/src/linkgraph/linkgraphjob.cpp b/src/linkgraph/linkgraphjob.cpp index cf180a3ae..cd358f37f 100644 --- a/src/linkgraph/linkgraphjob.cpp +++ b/src/linkgraph/linkgraphjob.cpp @@ -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 diff --git a/src/linkgraph/linkgraphjob.h b/src/linkgraph/linkgraphjob.h index a20a2025c..fa6ca618a 100644 --- a/src/linkgraph/linkgraphjob.h +++ b/src/linkgraph/linkgraphjob.h @@ -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, diff --git a/src/linkgraph/refresh.cpp b/src/linkgraph/refresh.cpp index b749d2718..ef10de6fe 100644 --- a/src/linkgraph/refresh.cpp +++ b/src/linkgraph/refresh.cpp @@ -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. |