Skip to content

Commit 47cae23

Browse files
committed
issue catch from one2@784ff85
1 parent 4804307 commit 47cae23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Diff/SequenceMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function findLongestMatch($alo, $ahi, $blo, $bhi)
285285
}
286286

287287
while($bestI > $alo && $bestJ > $blo && $this->isBJunk($b[$bestJ - 1]) &&
288-
!$this->isLineDifferent($bestI - 1, $bestJ - 1)) {
288+
!$this->linesAreDifferent($bestI - 1, $bestJ - 1)) {
289289
--$bestI;
290290
--$bestJ;
291291
++$bestSize;

0 commit comments

Comments
 (0)