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 | 7c020de8903c45bcc32795e28cc13a32285513f3 (patch) | |
tree | 07122e00dc818dd09b200fb7a1e80980ab2699fa /src/ScintillaBase.cxx | |
parent | 90990e1c3f2a1ea94c5ff4449f991652e2cd9e14 (diff) | |
download | scintilla-mirror-7c020de8903c45bcc32795e28cc13a32285513f3.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 |