diff options
| author | Neil <nyamatongwe@gmail.com> | 2025-04-08 08:12:54 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2025-04-08 08:12:54 +1000 |
| commit | 27d038b11a853785fd773756bdb02ae1a1bfae84 (patch) | |
| tree | a42d76d489f8b40df61f22237b8b03fb23b2ff5e | |
| parent | aa09b247fbe224f7c0f51c79f94a0d9a3bacfc0b (diff) | |
| download | scintilla-mirror-27d038b11a853785fd773756bdb02ae1a1bfae84.tar.gz | |
Silence warning.
| -rw-r--r-- | src/CallTip.cxx | 3 |
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 { |
