aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/AutoComplete.cxx')
-rw-r--r--src/AutoComplete.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index ac8a27c18..a5aa50afe 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -224,7 +224,7 @@ void AutoComplete::Move(int delta) {
}
void AutoComplete::Select(const char *word) {
- size_t lenWord = strlen(word);
+ const size_t lenWord = strlen(word);
int location = -1;
int start = 0; // lower bound of the api array block to search
int end = lb->Length() - 1; // upper bound of the api array block to search