aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-05-11 03:37:09 +0000
committernyamatongwe <devnull@localhost>2010-05-11 03:37:09 +0000
commit982df145bd644e80dfe09c5f0990b3e68e66b218 (patch)
treef80a7049bc1a33110b230fdd18e70c54fe63f41d /src/XPM.cxx
parentea2befb68926d47fa20e0410442fe6ffa1e3447c (diff)
downloadscintilla-mirror-982df145bd644e80dfe09c5f0990b3e68e66b218.tar.gz
Made method 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 2a0399837..d1389efa0 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -38,7 +38,7 @@ static size_t MeasureLength(const char *s) {
return i;
}
-ColourAllocated XPM::ColourFromCode(int ch) {
+ColourAllocated XPM::ColourFromCode(int ch) const {
return colourCodeTable[ch]->allocated;
#ifdef SLOW
for (int i=0; i<nColours; i++) {