From 7a9cf4d4d8504433cf60fad36284be989a74c760 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 11 Jul 2020 12:53:36 +1000 Subject: Removed calls that had no effect as drawing in indent guides uses FillRectangle with explicit arguments. --- src/EditView.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/EditView.cxx b/src/EditView.cxx index 82e64ce16..38dc3af21 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -315,9 +315,7 @@ void EditView::RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewSt pixmapIndentGuideHighlight->InitPixMap(1, vsDraw.lineHeight + 1, surfaceWindow, wid); const PRectangle rcIG = PRectangle::FromInts(0, 0, 1, vsDraw.lineHeight); pixmapIndentGuide->FillRectangle(rcIG, vsDraw.styles[STYLE_INDENTGUIDE].back); - pixmapIndentGuide->PenColour(vsDraw.styles[STYLE_INDENTGUIDE].fore); pixmapIndentGuideHighlight->FillRectangle(rcIG, vsDraw.styles[STYLE_BRACELIGHT].back); - pixmapIndentGuideHighlight->PenColour(vsDraw.styles[STYLE_BRACELIGHT].fore); for (int stripe = 1; stripe < vsDraw.lineHeight + 1; stripe += 2) { const PRectangle rcPixel = PRectangle::FromInts(0, stripe, 1, stripe + 1); pixmapIndentGuide->FillRectangle(rcPixel, vsDraw.styles[STYLE_INDENTGUIDE].fore); -- cgit v1.2.3