Changeset - r22150:55253c66c9e8
[Not reviewed]
master
0 1 0
frosch - 9 years ago 2015-06-28 15:54:12
frosch@openttd.org
(svn r27323) -Fix: Spelling.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -209,8 +209,8 @@ static inline void GfxDoDrawLine(void *v
 

	
 
	/* 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) ||
0 comments (0 inline, 0 general)