From 3fca3a236483ffdef8797b662b5a636ed966ceba Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 25 Feb 2007 02:12:41 +0000 Subject: Fixed bug #1656532 where background colour of marker not showing behind wrap indicator. --- src/Editor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index f2c76116f..93b299090 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2401,7 +2401,8 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis rcPlace.right = rcPlace.left + actualWrapVisualStartIndent * vsDraw.aveCharWidth; // default bgnd here.. - surface->FillRectangle(rcSegment, vsDraw.styles[STYLE_DEFAULT].back.allocated); + surface->FillRectangle(rcSegment, overrideBackground ? background : + vsDraw.styles[STYLE_DEFAULT].back.allocated); // main line style would be below but this would be inconsistent with end markers // also would possibly not be the style at wrap point -- cgit v1.2.3