diff options
author | Neil <nyamatongwe@gmail.com> | 2023-10-10 09:11:27 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-10-10 09:11:27 +1100 |
commit | b20c3b551a4a87888cf00e5f7da22d836015a073 (patch) | |
tree | 4c2f9fd038f52c0b09c322f2f21d444766ad1994 /src/MarginView.cxx | |
parent | 74876d72fdd85764ecc0a231bdaa711498178df5 (diff) | |
download | scintilla-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/MarginView.cxx')
-rw-r--r-- | src/MarginView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MarginView.cxx b/src/MarginView.cxx index 6cc961db2..348b5dd05 100644 --- a/src/MarginView.cxx +++ b/src/MarginView.cxx @@ -138,7 +138,7 @@ void MarginView::RefreshPixMaps(Surface *surfaceWindow, const ViewStyle &vsDraw) ColourRGBA colourFMFill = vsDraw.selbar; ColourRGBA colourFMStripes = vsDraw.selbarlight; - if (!(vsDraw.selbarlight == ColourRGBA(0xff, 0xff, 0xff))) { + if (!(vsDraw.selbarlight == white)) { // User has chosen an unusual chrome colour scheme so just use the highlight edge colour. // (Typically, the highlight colour is white.) colourFMFill = vsDraw.selbarlight; |