diff options
Diffstat (limited to 'src/AutoComplete.cxx')
| -rw-r--r-- | src/AutoComplete.cxx | 18 | 
1 files changed, 10 insertions, 8 deletions
| diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx index 6866364c1..5bc50d1ef 100644 --- a/src/AutoComplete.cxx +++ b/src/AutoComplete.cxx @@ -10,14 +10,16 @@  #include "AutoComplete.h" -AutoComplete::AutoComplete() { -	active = false; -	posStart = 0; -	strcpy(stopChars, ""); -	strcpy(fillUpChars, ""); -	separator = ' '; -	ignoreCase = false; -	cancelAtStartPos = true; +AutoComplete::AutoComplete() :  +	active(false), +	separator(' '), +	ignoreCase(false), +	chooseSingle(false), +	posStart(0), +	startLen(0), +	cancelAtStartPos(true) { +	stopChars[0] = '\0'; +	fillUpChars[0] = '\0';  }  AutoComplete::~AutoComplete() { | 
