am f90651e4: am 89d3634f: am b36d9c3f: Merge "More accurate checking for overlapped ranges."

* commit 'f90651e4c43ac9b803ca67582a3ffd5e8dc0f192':
  More accurate checking for overlapped ranges.
This commit is contained in:
Tao Bao 2015-06-26 00:50:39 +00:00 committed by Android Git Automerger
commit 744fb66659

View file

@ -162,7 +162,7 @@ static int range_overlaps(RangeSet* r1, RangeSet* r2) {
r2_0 = r2->pos[j * 2];
r2_1 = r2->pos[j * 2 + 1];
if (!(r2_0 > r1_1 || r1_0 > r2_1)) {
if (!(r2_0 >= r1_1 || r1_0 >= r2_1)) {
return 1;
}
}