aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-10-10 09:11:27 +1100
committerNeil <nyamatongwe@gmail.com>2023-10-10 09:11:27 +1100
commitb20c3b551a4a87888cf00e5f7da22d836015a073 (patch)
tree4c2f9fd038f52c0b09c322f2f21d444766ad1994 /src/Style.cxx
parent74876d72fdd85764ecc0a231bdaa711498178df5 (diff)
downloadscintilla-mirror-b20c3b551a4a87888cf00e5f7da22d836015a073.tar.gz
Use global constants for opaque black and white and local constants for greys.
Makes it easier to understand and reduces warnings.
Diffstat (limited to 'src/Style.cxx')
-rw-r--r--src/Style.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Style.cxx b/src/Style.cxx
index a45072292..fcde6398e 100644
--- a/src/Style.cxx
+++ b/src/Style.cxx
@@ -65,8 +65,8 @@ int DefaultFontSize() noexcept {
Style::Style(const char *fontName_) noexcept :
FontSpecification(fontName_, DefaultFontSize() * FontSizeMultiplier),
- fore(0,0,0),
- back(0xff, 0xff, 0xff),
+ fore(black),
+ back(white),
eolFilled(false),
underline(false),
caseForce(CaseForce::mixed),