summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-06-28 15:54:12 +0000
committerfrosch <frosch@openttd.org>2015-06-28 15:54:12 +0000
commit2e2b35c73362a036731f1a862bee00f571331635 (patch)
tree13988f328ab46439cee0ad2c38244cbcfda42612
parenta65a194416421750110b87da97787b57eb66fe98 (diff)
downloadopenttd-2e2b35c73362a036731f1a862bee00f571331635.tar.xz
(svn r27323) -Fix: Spelling.
-rw-r--r--src/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index aa55b29a2..79d46e23e 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -209,8 +209,8 @@ static inline void GfxDoDrawLine(void *video, int x, int y, int x2, int y2, int
/* Imagine that the line is infinitely long and it intersects with
* infinitely long left and right edges of the clipping rectangle.
- * If booth intersection points are outside the clipping rectangle
- * and booth on the same side of it, we don't need to draw anything. */
+ * If both intersection points are outside the clipping rectangle
+ * and both on the same side of it, we don't need to draw anything. */
int left_isec_y = y + (clip.left - x) * grade_y / grade_x;
int right_isec_y = y + (clip.right - x) * grade_y / grade_x;
if ((left_isec_y > clip.bottom + margin && right_isec_y > clip.bottom + margin) ||