aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2021-05-25 20:07:03 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2021-05-25 20:07:03 +1000
commit0b70de644baa922a46d960a0382bd24ddc387661 (patch)
tree7763a0f3339a977040ba8373ebf6bedeb77257a4
parent92290868cf9753d2df0d494cb44e2ff62a570b58 (diff)
downloadscintilla-mirror-0b70de644baa922a46d960a0382bd24ddc387661.tar.gz
Fix old capitalisation of enum.
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 6baba72d9..1164b7253 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -2566,7 +2566,7 @@ void ScintillaCocoa::UpdateBaseElements() {
if (@available(macOS 10.14, *)) {
NSColor *textBack = [NSColor.textBackgroundColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
NSColor *noFocusBack = [NSColor.unemphasizedSelectedTextBackgroundColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
- if (vs.selection.layer == Layer::base) {
+ if (vs.selection.layer == Layer::Base) {
NSColor *selBack = [NSColor.selectedTextBackgroundColor colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
// Additional selection: blend with text background to make weaker version.
NSColor *modified = [selBack blendedColorWithFraction:0.5 ofColor:textBack];