diff options
author | Neil <nyamatongwe@gmail.com> | 2018-03-01 11:03:37 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-03-01 11:03:37 +1100 |
commit | 1b808ad6a4e623c564513a72cedc17581426942f (patch) | |
tree | f0671c60ec9680f4c4d2e9f7e8c85028b833b0cf /src/AutoComplete.cxx | |
parent | 13f7cab5a5894313d2245ae56d6f2e7b1f0d7307 (diff) | |
download | scintilla-mirror-1b808ad6a4e623c564513a72cedc17581426942f.tar.gz |
Backport: Mark variables as const where simple.
Backport of changeset 6470:d78a4b522662.
Diffstat (limited to 'src/AutoComplete.cxx')
-rw-r--r-- | src/AutoComplete.cxx | 2 |
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 |