From bb1eb94aa033715488c787b98c5d00ba7329933f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 22 Sep 2022 10:52:52 +0100 Subject: [PATCH] Fix typo. Fixes https://gitlab.com/kicad/code/kicad/issues/12467 --- common/scintilla_tricks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/scintilla_tricks.cpp b/common/scintilla_tricks.cpp index 21d1e3d242..734f31f6ac 100644 --- a/common/scintilla_tricks.cpp +++ b/common/scintilla_tricks.cpp @@ -112,7 +112,7 @@ void SCINTILLA_TRICKS::setupStyles() // Set up the brace highlighting. Scintilla doesn't handle alpha, so we construct our own // 20% wash by blending with the background. - KIGFX::COLOR4D braceText = highlightText; + KIGFX::COLOR4D braceText = foreground; KIGFX::COLOR4D braceHighlight = braceText.Mix( background, 0.2 ); m_te->StyleSetForeground( wxSTC_STYLE_BRACELIGHT, highlightText.ToColour() );