From 0f7e2408417e43d7922d92f52e1a4dc5f001ea7e Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Mon, 28 Mar 2022 06:44:50 +1100 Subject: [PATCH] Debugger: Fix to use logical "&&" for boolean variables (PR #1073) --- source/Debugger/Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 0dd2de9e..57e0ba31 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -5782,7 +5782,7 @@ Update_t CmdOutputCalc (int nArgs) if (bParen) strText += '('; - if (bHi & bLo) + if (bHi && bLo) strText += "High Ctrl"; else if (bHi)