From b20c3b551a4a87888cf00e5f7da22d836015a073 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 10 Oct 2023 09:11:27 +1100 Subject: Use global constants for opaque black and white and local constants for greys. Makes it easier to understand and reduces warnings. --- src/Style.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Style.cxx') 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), -- cgit v1.2.3