From eb0890add4309d86800d75463d468c95fb9d954e Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Thu, 27 Apr 2017 09:29:22 -0700 Subject: [PATCH] Add (default) background to ColorizeFlags() --- source/Debugger/Debugger_Display.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Debugger/Debugger_Display.cpp b/source/Debugger/Debugger_Display.cpp index 552c91f6..a075f646 100644 --- a/source/Debugger/Debugger_Display.cpp +++ b/source/Debugger/Debugger_Display.cpp @@ -1027,7 +1027,7 @@ char ColorizeSpecialChar( char * sText, BYTE nData, const MemoryView_e iView, return nChar; } -void ColorizeFlags( bool bSet ) +void ColorizeFlags( bool bSet, int bg_default = BG_INFO ) { if (bSet) { @@ -1036,7 +1036,7 @@ void ColorizeFlags( bool bSet ) } else { - DebuggerSetColorBG( DebuggerGetColor( BG_INFO )); + DebuggerSetColorBG( DebuggerGetColor( bg_default )); DebuggerSetColorFG( DebuggerGetColor( FG_INFO_TITLE )); } }