diff options
author | Ben Straub <bs@github.com> | 2013-11-25 20:44:20 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-11-25 20:44:20 +0400 |
commit | 1517a66b6d289f6511ee303378db058dd40e01e0 (patch) | |
tree | 78d54da436796ba7ff116dce56044e82f8f36fce /LibGit2Sharp/BlameHunk.cs | |
parent | b8dc66023e3b735d409bef04eee531342161dad2 (diff) |
Fix off-by-one error in BlameHunk debugger display
Diffstat (limited to 'LibGit2Sharp/BlameHunk.cs')
-rw-r--r-- | LibGit2Sharp/BlameHunk.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/BlameHunk.cs b/LibGit2Sharp/BlameHunk.cs index 1142ad1c..0903a0c3 100644 --- a/LibGit2Sharp/BlameHunk.cs +++ b/LibGit2Sharp/BlameHunk.cs @@ -113,7 +113,7 @@ namespace LibGit2Sharp return string.Format(CultureInfo.InvariantCulture, "{0}-{1} ({2})", FinalStartLineNumber, - FinalStartLineNumber+LineCount, + FinalStartLineNumber+LineCount-1, FinalCommit.ToString().Substring(0,7)); } } |