aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-01-04 13:32:23 +1100
committerNeil <nyamatongwe@gmail.com>2017-01-04 13:32:23 +1100
commit75de132ed9cd2b59d33e0a721bac285db2528949 (patch)
tree7b0d2050dffec113ec07637b575cd3075d269e44 /src/XPM.cxx
parentef94015d9934b956d23531e2d3bcc2cf3d36c820 (diff)
downloadscintilla-mirror-75de132ed9cd2b59d33e0a721bac285db2528949.tar.gz
Mark some const methods as const.
Diffstat (limited to 'src/XPM.cxx')
-rw-r--r--src/XPM.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index 4841e4ff2..49b58038a 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -46,7 +46,7 @@ ColourDesired XPM::ColourFromCode(int ch) const {
return colourCodeTable[ch];
}
-void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) {
+void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) const {
if ((code != codeTransparent) && (startX != x)) {
PRectangle rc = PRectangle::FromInts(startX, y, x, y + 1);
surface->FillRectangle(rc, ColourFromCode(code));