aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XPM.h b/src/XPM.h
index 91aa4a8bd..71970a6b5 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -43,9 +43,9 @@ public:
void Draw(Surface *surface, PRectangle &rc);
char **InLinesForm() { return lines; }
void SetId(int pid_) { pid = pid_; }
- int GetId() { return pid; }
- int GetHeight() { return height; }
- int GetWidth() { return width; }
+ int GetId() const { return pid; }
+ int GetHeight() const { return height; }
+ int GetWidth() const { return width; }
static const char **LinesFormFromTextForm(const char *textForm);
};