Commit dbe9f33b authored by JP Rosevear's avatar JP Rosevear Committed by JP Rosevear

Clean to meet coding specs.

99-12-22  JP Rosevear  <jpr@arcavia.com>

	* src/ranges.c (range_intersection): Clean to meet coding specs.
parent c03ad77a
1999-12-22 JP Rosevear <jpr@arcavia.com>
* src/ranges.c (range_intersection): Clean to meet coding specs.
1999-12-21 JP Rosevear <jpr@arcavia.com>
* src/ranges.c (range_intersection) : Tidy and handle the case
......
1999-12-22 JP Rosevear <jpr@arcavia.com>
* src/ranges.c (range_intersection): Clean to meet coding specs.
1999-12-21 JP Rosevear <jpr@arcavia.com>
* src/ranges.c (range_intersection) : Tidy and handle the case
......
......@@ -733,11 +733,11 @@ range_intersection (Range const *a, Range const *b)
g_return_if_fail (range_overlap (a, b));
ans.start.col = MAX(a->start.col, b->start.col);
ans.start.row = MAX(a->start.row, b->start.row);
ans.start.col = MAX (a->start.col, b->start.col);
ans.start.row = MAX (a->start.row, b->start.row);
ans.end.col = MIN(a->end.col, b->end.col);
ans.end.row = MIN(a->end.row, b->end.row);
ans.end.col = MIN (a->end.col, b->end.col);
ans.end.row = MIN (a->end.row, b->end.row);
/* Make sure this is an actual intersection */
return ans;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment