From 44da106995e3b3ca4068f584c16f59d8fced4e69 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 24 May 2013 00:04:54 +1000 Subject: Made methods const where they can be and are logically const as well. --- src/CallTip.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CallTip.cxx') 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" -- cgit v1.2.3