diff options
author | Unknown <nyamatongwe@gmail.com> | 2013-06-05 21:38:05 +1000 |
---|---|---|
committer | Unknown <nyamatongwe@gmail.com> | 2013-06-05 21:38:05 +1000 |
commit | 78c68eb0882e2fb37ecb1693466da128e63f5b39 (patch) | |
tree | 7a770bc4e9ed21da8d1425b7e556255cb08d84c1 | |
parent | f36c0a0c44bdb7cae54ff018911ade02faa20f20 (diff) | |
download | scintilla-mirror-78c68eb0882e2fb37ecb1693466da128e63f5b39.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_)) { |