diff options
Diffstat (limited to 'lexers/LexNsis.cxx')
| -rw-r--r-- | lexers/LexNsis.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lexers/LexNsis.cxx b/lexers/LexNsis.cxx index cd74d540d..599ccfbbf 100644 --- a/lexers/LexNsis.cxx +++ b/lexers/LexNsis.cxx @@ -142,6 +142,7 @@ static int calculateFoldNsis(unsigned int start, unsigned int end, int foldlevel      bIgnoreCase = true;    char s[20]; // The key word we are looking for has atmost 13 characters +  s[0] = '\0';    for (unsigned int i = 0; i < end - start + 1 && i < 19; i++)  	{  		s[i] = static_cast<char>( styler[ start + i ] ); | 
