diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-06-05 21:38:05 +1000 |
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-06-05 21:38:05 +1000 |
| commit | fad98527271b930d97bd15373a4aca25931cc32f (patch) | |
| tree | b62d94d2eb299c4b50dcd88cd7f020e8cf4f1ebc | |
| parent | a142d82e01d77bb3cbe658e543f32ca36eaeec78 (diff) | |
| download | scintilla-mirror-fad98527271b930d97bd15373a4aca25931cc32f.tar.gz | |
Make method const since it has no side-effects.
| -rw-r--r-- | gtk/PlatGTK.cxx | 2 |
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_)) { |
