Skip to content

Commit 48917ec

Browse files
committed
make sure to adjust offset when file2 length > file1 length
1 parent a10fa40 commit 48917ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

onp.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ module.exports = function (a_, b_) {
5454
m = n;
5555
n = tmp2;
5656
reverse = true;
57+
offset = m + 1;
5758
}
5859
};
5960

0 commit comments

Comments
 (0)