]> Sergey Matveev's repositories - public-inbox.git/commitdiff
viewdiff: don't increment the reported hunk line number
authorKyle Meyer <kyle@kyleam.com>
Sat, 9 May 2020 18:57:46 +0000 (18:57 +0000)
committerEric Wong <e@yhbt.net>
Sat, 9 May 2020 19:32:11 +0000 (19:32 +0000)
For a diff hunk starting at line N, diff_hunk() constructs the link
with "#n(N + 1)".  This sends the viewer one line below the first
context line.  Although this is minor and may not even be noticed,
there's not an obvious reason to increment the line number, so switch
to using the reported value as is.


No differences found