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 | ae4b1d41a3e763240a5e9f60f76cedab55e1e5e2 (patch) | |
| tree | b201f21a3c0bcae634b8633c1c3d8ea704529b46 /src/AutoComplete.cxx | |
| parent | 5b88f2c8d74cdeab860dc8a009428f9474bc2c8b (diff) | |
| download | scintilla-mirror-ae4b1d41a3e763240a5e9f60f76cedab55e1e5e2.tar.gz | |
Mark variables as const where simple.
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 |
