From 1a1b4ff21eceb38e3d4aabd6f08d477f1a64a737 Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Wed, 10 Mar 2021 23:59:12 +0000 Subject: [PATCH] Merged PR 5777834: Parenthesis in incorrect spot for default app policy check. Parenthesis in incorrect spot for default app policy check. Related work items: MSFT-32071839 Retrieved from https://microsoft.visualstudio.com os.2020 OS official/rs_wdx_dxp_windev 537ab5dfd9cc6af60b570697e77bba4b45822e05 --- src/host/srvinit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/srvinit.cpp b/src/host/srvinit.cpp index 0fc8b632a..88a7d85c9 100644 --- a/src/host/srvinit.cpp +++ b/src/host/srvinit.cpp @@ -53,7 +53,7 @@ try // Check if this conhost is allowed to delegate its activities to another. // If so, look up the registered default console handler. bool isEnabled = false; - if (SUCCEEDED(Microsoft::Console::Internal::DefaultApp::CheckDefaultAppPolicy(isEnabled) && isEnabled)) + if (SUCCEEDED(Microsoft::Console::Internal::DefaultApp::CheckDefaultAppPolicy(isEnabled)) && isEnabled) { IID delegationClsid; if (SUCCEEDED(DelegationConfig::s_GetDefaultConsoleId(delegationClsid)))