Skip to content

Commit d5050a5

Browse files
committed
what am I doing
1 parent 50138cc commit d5050a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cascadia/TerminalControl/TermControl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
10511051
// MSFT 33353327: We're purposefully not using _initializedTerminal to ensure we're fully initialized.
10521052
// Doing so makes us return nullptr when XAML requests an automation peer.
10531053
// Instead, we need to give XAML an automation peer, then fix it later.
1054-
if (!_IsClosing() & !_detached)
1054+
if (!_IsClosing() && !_detached)
10551055
{
10561056
// create a custom automation peer with this code pattern:
10571057
// (https://docs.microsoft.com/en-us/windows/uwp/design/accessibility/custom-automation-peers)

0 commit comments

Comments
 (0)