From cda15af9657880e91ccf65603e109b202d9e78bf Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 6 Apr 2017 21:04:37 +1000 Subject: Added const where possible. --- src/XPM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/XPM.h') diff --git a/src/XPM.h b/src/XPM.h index f41b9d184..bb1b9b4f2 100644 --- a/src/XPM.h +++ b/src/XPM.h @@ -31,7 +31,7 @@ public: void Init(const char *textForm); void Init(const char *const *linesForm); /// Decompose image into runs and use FillRectangle for each run - void Draw(Surface *surface, PRectangle &rc); + void Draw(Surface *surface, const PRectangle &rc); int GetHeight() const { return height; } int GetWidth() const { return width; } void PixelAt(int x, int y, ColourDesired &colour, bool &transparent) const; -- cgit v1.2.3