1212
[[ Diff ]] String comparisons should be case & form sensitive · lineCode/livecode@c7bb664 · GitHub
Skip to content

Commit c7bb664

Browse files
committed
[[ Diff ]] String comparisons should be case & form sensitive
1 parent 1e959c7 commit c7bb664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/script-libraries/diff/diff.livecodescript

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,8 @@ private command compare_diagonal @pFP, @pPath, @pA, pALength, @pB, pBLength, k
535535
end compare_diagonal
536536

537537
private function snake @pA, pALength, @pB, pBLength, k, y
538+
set the caseSensitive to true
539+
set the formSensitive to true
538540
local tLimit
539541
put min(pALength + k, pBLength) into tLimit
540542
repeat while (y < tLimit) and pA[y - k + 1] is pB[y + 1]

0 commit comments

Comments
 (0)