From 8d53838c4e5fafd24154b33e2d24126e55853ab9 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 24 Jul 2014 12:50:30 +1000 Subject: Mark const methods const. --- 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 af8372a51..58d8a1415 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -1169,7 +1169,7 @@ static void DrawWrapIndentAndMarker(Surface *surface, const ViewStyle &vsDraw, c void EditView::DrawBackground(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, PRectangle rcLine, Range lineRange, int posLineStart, int xStart, - int subLine, ColourOptional background) { + int subLine, ColourOptional background) const { const bool selBackDrawn = vsDraw.SelectionBackgroundDrawn(); bool inIndentation = subLine == 0; // Do not handle indentation except on first subline. -- cgit v1.2.3