summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Trahan <tyler@tylertrahan.com>2021-11-09 07:18:01 -0700
committerMichael Lutz <michi@icosahedron.de>2021-11-09 20:51:38 +0100
commit48c1c7f221cd51fbe4fda3771eaed09edacef997 (patch)
tree2e777df20211417ad1b3bb137132f0333e15e197 /src
parent236f71640c1d535ed839c8e6866d18b2a429b9be (diff)
downloadopenttd-48c1c7f221cd51fbe4fda3771eaed09edacef997.tar.xz
Cleanup: Fix typo in overflowsafe_type comment
Diffstat (limited to 'src')
-rw-r--r--src/core/overflowsafe_type.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/overflowsafe_type.hpp b/src/core/overflowsafe_type.hpp
index 0976a090b..29aab175b 100644
--- a/src/core/overflowsafe_type.hpp
+++ b/src/core/overflowsafe_type.hpp
@@ -22,8 +22,8 @@
/**
* Overflow safe template for integers, i.e. integers that will never overflow
- * you multiply the maximum value with 2, or add 2, or subtract something from
- * the minimum value, etc.
+ * when you multiply the maximum value with 2, or add 2, or subtract something
+ * from the minimum value, etc.
* @param T the type these integers are stored with.
*/
template <class T>