aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index 8931f413d..c12a6e8eb 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -69,7 +69,7 @@ bool CallTip::IsTabCharacter(char ch) const {
return (tabSize > 0) && (ch == '\t');
}
-int CallTip::NextTabPos(int x) {
+int CallTip::NextTabPos(int x) const {
if (tabSize > 0) { // paranoia... not called unless this is true
x -= insetX; // position relative to text
x = (x + tabSize) / tabSize; // tab "number"