Skip to content

Commit ba36f04

Browse files
committed
Corrected calls to lines function in diff_u
1 parent 71bdd7c commit ba36f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/xtra/DIFF.LUA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ local function diff_u(fn1,fn2)
3636

3737
if diff_b then
3838
for _, v in ipairs(diff_b) do
39-
dl, tl = lines(v.data.l)
40-
dr, tr = lines(v.data.r)
39+
dl, tl = lines(v.data.l, tl)
40+
dr, tr = lines(v.data.r, tr)
4141
local max = #dl > #dr and #dl or #dr
4242

4343
for k = 1, max do

0 commit comments

Comments
 (0)