We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f329c12 commit 6588b5aCopy full SHA for 6588b5a
1 file changed
xtra/DIFF.LUA
@@ -46,7 +46,7 @@ local function diff_u(fn1,fn2)
46
j,u.n.l,u.e=j+1,u.n.l+1,0
47
end
48
if u then
49
- if u.e<4 and i<=h then
+ if u.e<4 and i<=h and j<=w then
50
table.insert(u.l,pfl(" ",get(fn1,f1,i)))
51
u.e,u.o.l,u.n.l=u.e+1,u.o.l+1,u.n.l+1
52
else
0 commit comments