Skip to content

Commit 6c629b7

Browse files
committed
Code quality
1 parent 3e24f05 commit 6c629b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/QuickSwitch/QuickSwitch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ private static void NavigateDialogPath(IUIAutomationElement window)
9696
{
9797
return;
9898
}
99+
Debug.WriteLine($"Path: {path}");
99100

100101
//_inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.MENU, VirtualKeyCode.VK_D);
101102

@@ -158,8 +159,7 @@ uint dwmsEventTime
158159
continue;
159160
}
160161

161-
// Fix for CA2020: Wrap the conversion in a 'checked' statement
162-
if (explorer.HWND != checked((int)hwnd))
162+
if (explorer.HWND != hwnd.Value)
163163
{
164164
continue;
165165
}

0 commit comments

Comments
 (0)