From ca7b9e66fc519cae98fd0e8eac04f5e81ef6584c Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 19 Jul 2014 09:29:20 +1000 Subject: Treated SC_PHASES_MULTIPLE as SC_PHASES_TWO when buffered drawing is on. --- 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 1514b963b..76e54faac 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -1702,7 +1702,7 @@ void EditView::PaintText(Surface *surfaceWindow, const EditModel &model, PRectan int lineDocPrevious = -1; // Used to avoid laying out one document line multiple times AutoLineLayout ll(llc, 0); std::vector phases; - if (phasesDraw == phasesMultiple) { + if ((phasesDraw == phasesMultiple) && !bufferedDraw) { for (DrawPhase phase = drawBack; phase <= drawCarets; phase = static_cast(phase * 2)) { phases.push_back(phase); } -- cgit v1.2.3