aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h2
1 files changed, 1 insertions, 1 deletions
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;