aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-19 17:26:14 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-19 17:26:14 +1000
commitc4025b67d3afa0de81d6f6360a8d7a49bf1406c9 (patch)
tree3e214b300104359ab0317b84b5be5a1a50119be0 /src/EditView.cxx
parenta29a92c614ae03f4058f0e63899350d83c43d670 (diff)
downloadscintilla-mirror-c4025b67d3afa0de81d6f6360a8d7a49bf1406c9.tar.gz
Use ColourDesired constructor explicitly to make more obvious.
Constructor not marked explicit as may be used in external platform layers.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index e9e369e79..e4e82fd75 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -1674,7 +1674,7 @@ void EditView::DrawForeground(Surface *surface, const EditModel &model, const Vi
} else {
if (indicator.sacNormal.style == INDIC_TEXTFORE) {
if (indicator.Flags() & SC_INDICFLAG_VALUEFORE)
- textFore = indicatorValue & SC_INDICVALUEMASK;
+ textFore = ColourDesired(indicatorValue & SC_INDICVALUEMASK);
else
textFore = indicator.sacNormal.fore;
}