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
This commit is contained in:
Dustin Howett 2021-03-10 23:59:12 +00:00
parent 3909cc103a
commit 1a1b4ff21e

View file

@ -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)))