aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-06-05 21:38:05 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-06-05 21:38:05 +1000
commitfad98527271b930d97bd15373a4aca25931cc32f (patch)
treeb62d94d2eb299c4b50dcd88cd7f020e8cf4f1ebc
parenta142d82e01d77bb3cbe658e543f32ca36eaeec78 (diff)
downloadscintilla-mirror-fad98527271b930d97bd15373a4aca25931cc32f.tar.gz
Make method const since it has no side-effects.
-rw-r--r--gtk/PlatGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 0ea2ba8ec..a6ae84e10 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -185,7 +185,7 @@ public:
width[i] = 0;
}
}
- XYPOSITION CharWidth(unsigned char ch, encodingType et_) {
+ XYPOSITION CharWidth(unsigned char ch, encodingType et_) const {
XYPOSITION w = 0;
FontMutexLock();
if ((ch <= 127) && (et == et_)) {