aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/CallTip.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index d35bec4ec..2be23e898 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -95,9 +95,8 @@ int CallTip::NextTabPos(int x) const noexcept {
x -= insetX; // position relative to text
x = (x + tabSize) / tabSize; // tab "number"
return tabSize*x + insetX; // position of next tab
- } else {
- return x + 1; // arbitrary
}
+ return x + 1; // arbitrary
}
namespace {