From 8822e0ed1db342bf1947004c660a9c8649ce35c0 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 19 Apr 2018 17:26:14 +1000 Subject: 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. --- src/EditView.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/EditView.cxx') 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; } -- cgit v1.2.3