am 8cd9e4f3
: fix bug in applying patches
Merge commit '8cd9e4f3d4eba481b411482331293c8079ab24b2' into gingerbread * commit '8cd9e4f3d4eba481b411482331293c8079ab24b2': fix bug in applying patches
This commit is contained in:
commit
17986e6b87
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ int applypatch(const char* source_filename,
|
|||
|
||||
int to_use = FindMatchingPatch(copy_file.sha1,
|
||||
patch_sha1_str, num_patches);
|
||||
if (to_use > 0) {
|
||||
if (to_use >= 0) {
|
||||
copy_patch_value = patch_data[to_use];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue