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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LineMarker.h') diff --git a/src/LineMarker.h b/src/LineMarker.h index c8c9e10a1..4004a8a42 100644 --- a/src/LineMarker.h +++ b/src/LineMarker.h @@ -66,7 +66,7 @@ public: void SetXPM(const char *textForm); void SetXPM(const char *const *linesForm); void SetRGBAImage(Point sizeRGBAImage, float scale, const unsigned char *pixelsRGBAImage); - void Draw(Surface *surface, PRectangle &rc, Font &fontForCharacter, typeOfFold tFold, int marginStyle); + void Draw(Surface *surface, PRectangle &rc, Font &fontForCharacter, typeOfFold tFold, int marginStyle) const; }; #ifdef SCI_NAMESPACE -- cgit v1.2.3