Merge commit '17986e6b8766ef9bdaa49efc7099e3867ca1978a' into gingerbread-plus-aosp * commit '17986e6b8766ef9bdaa49efc7099e3867ca1978a': fix bug in applying patches
This commit is contained in:
@@ -588,7 +588,7 @@ int applypatch(const char* source_filename,
|
|||||||
|
|
||||||
int to_use = FindMatchingPatch(copy_file.sha1,
|
int to_use = FindMatchingPatch(copy_file.sha1,
|
||||||
patch_sha1_str, num_patches);
|
patch_sha1_str, num_patches);
|
||||||
if (to_use > 0) {
|
if (to_use >= 0) {
|
||||||
copy_patch_value = patch_data[to_use];
|
copy_patch_value = patch_data[to_use];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user