Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8e9c820

Browse files
code_style: remove unnecessary braces
Signed-off-by: leo <longshuang@msn.cn>
1 parent f2e8fa3 commit 8e9c820

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/Views/TextDiffView.axaml.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -837,13 +837,10 @@ private async Task CopyWithoutIndicatorsAsync()
837837
if (i == endIdx)
838838
{
839839
if (endPosition.Column - 1 < line.Content.Length)
840-
{
841840
builder.Append(line.Content.AsSpan(0, endPosition.Column - 1));
842-
}
843841
else
844-
{
845842
builder.Append(line.Content);
846-
}
843+
847844
break;
848845
}
849846

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /