mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
code_style: remove unnecessary braces
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -837,13 +837,10 @@ namespace SourceGit.Views
|
||||
if (i == endIdx)
|
||||
{
|
||||
if (endPosition.Column - 1 < line.Content.Length)
|
||||
{
|
||||
builder.Append(line.Content.AsSpan(0, endPosition.Column - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
builder.Append(line.Content);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user