diff options
| -rw-r--r-- | src/Editor.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index 185f15415..e6b1d69f3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -881,7 +881,7 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis  	bool overrideBackground = false;  	Colour background = Colour(0, 0, 0); -	if (vsDraw.showCaretLineBackground && ll.containsCaret) { +	if (caret.active && vsDraw.showCaretLineBackground && ll.containsCaret) {  		overrideBackground = true;  		background = vsDraw.caretLineBackground.allocated;  	} | 
