diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-19 17:26:14 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-19 17:26:14 +1000 |
commit | 8822e0ed1db342bf1947004c660a9c8649ce35c0 (patch) | |
tree | 8756ea3c36f8319354419f0aa2d48fbf9b18eac6 /src/EditView.cxx | |
parent | 1edfa1eaef9301aeffe31253cfc06709d4d8aae0 (diff) | |
download | scintilla-mirror-8822e0ed1db342bf1947004c660a9c8649ce35c0.tar.gz |
Backport: Use ColourDesired constructor explicitly to make more obvious.
Constructor not marked explicit as may be used in external platform layers.
Backport of changeset 6706:73c8bc321f62.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r-- | src/EditView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 4fdf29fca..c85d24492 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; } |