Skip to content

Commit 911eb85

Browse files
committed
change point to default, because a point cannot be null
1 parent 2a28d41 commit 911eb85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/LogExpert/Controls/LogWindow/LogWindowsPublic.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ public void ToggleBookmark()
873873
if (filterGridView.Focused)
874874
{
875875
gridView = filterGridView;
876-
if (gridView.CurrentCellAddress == null || gridView.CurrentCellAddress.Y == -1)
876+
if (gridView.CurrentCellAddress == default || gridView.CurrentCellAddress.Y == -1)
877877
{
878878
return;
879879
}
@@ -883,7 +883,7 @@ public void ToggleBookmark()
883883
else
884884
{
885885
gridView = dataGridView;
886-
if (gridView.CurrentCellAddress == null || gridView.CurrentCellAddress.Y == -1)
886+
if (gridView.CurrentCellAddress == default || gridView.CurrentCellAddress.Y == -1)
887887
{
888888
return;
889889
}

0 commit comments

Comments
 (0)