diff options
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 | 
