diff options
author | Neil <nyamatongwe@gmail.com> | 2013-12-15 10:46:39 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-12-15 10:46:39 +1100 |
commit | 982a9be5d39fb042e1deb86af5930cb54729f83f (patch) | |
tree | e93ecbd0e73da10016493ba3c736f3d16ee1a90a /src/ScintillaBase.cxx | |
parent | c0f861272b0d90566c68398087db3a93840f47c1 (diff) | |
download | scintilla-mirror-982a9be5d39fb042e1deb86af5930cb54729f83f.tar.gz |
Format normalization - whitespace and braces made consistent.
Parameter names added to method declarations.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r-- | src/ScintillaBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 9190cd6d5..1fb4d6f27 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -209,7 +209,7 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) { if (ac.chooseSingle && (listType == 0)) { if (list && !strchr(list, ac.GetSeparator())) { const char *typeSep = strchr(list, ac.GetTypesep()); - int lenInsert = typeSep ? + int lenInsert = typeSep ? static_cast<int>(typeSep-list) : static_cast<int>(strlen(list)); if (ac.ignoreCase) { // May need to convert the case before invocation, so remove lenEntered characters |