diff options
author | Tao Bao <tbao@google.com> | 2015-06-26 02:16:58 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-06-26 02:16:59 +0200 |
commit | b36d9c3f00e75dba464ff62eab94dd46d93ac94e (patch) | |
tree | 210557bf3fb2725d4ce439908aff7aa325ad4565 | |
parent | Merge "recovery: Use xxhdpi resources for 560dpi devices" (diff) | |
parent | More accurate checking for overlapped ranges. (diff) | |
download | android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.tar android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.tar.gz android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.tar.bz2 android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.tar.lz android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.tar.xz android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.tar.zst android_bootable_recovery-b36d9c3f00e75dba464ff62eab94dd46d93ac94e.zip |
-rw-r--r-- | updater/blockimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c index fc35abe4d..0bd2559f7 100644 --- a/updater/blockimg.c +++ b/updater/blockimg.c @@ -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; } } |