From 3b5496d80c0fb79ebad20d7253b944a072d5cd7f Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 23 Jun 2014 13:06:42 +1000 Subject: Make drawing of markers const. --- src/LineMarker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LineMarker.cxx') diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index 938288b1f..8ae815a65 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -71,7 +71,7 @@ static void DrawMinus(Surface *surface, int centreX, int centreY, int armSize, C surface->FillRectangle(rcH, fore); } -void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, typeOfFold tFold, int marginStyle) { +void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, typeOfFold tFold, int marginStyle) const { ColourDesired head = back; ColourDesired body = back; ColourDesired tail = back; -- cgit v1.2.3