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

* commit 'b36d9c3f00e75dba464ff62eab94dd46d93ac94e':
  More accurate checking for overlapped ranges.
This commit is contained in:
Tao Bao 2015-06-26 00:25:15 +00:00 committed by Android Git Automerger
commit 89d3634ffe

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;
}
}