summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-26 02:50:39 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-26 02:50:39 +0200
commit744fb66659258ef2ee6a4f590e7decad9855d277 (patch)
tree210557bf3fb2725d4ce439908aff7aa325ad4565 /updater
parentam 8f7a2afe: am 1572820c: am ec18d495: Merge "recovery: Use xxhdpi resources for 560dpi devices" (diff)
parentam 89d3634f: am b36d9c3f: Merge "More accurate checking for overlapped ranges." (diff)
downloadandroid_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.tar
android_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.tar.gz
android_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.tar.bz2
android_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.tar.lz
android_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.tar.xz
android_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.tar.zst
android_bootable_recovery-744fb66659258ef2ee6a4f590e7decad9855d277.zip
Diffstat (limited to 'updater')
-rw-r--r--updater/blockimg.c2
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;
}
}