diff options
Diffstat (limited to 'src/LexRuby.cxx')
| -rw-r--r-- | src/LexRuby.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexRuby.cxx b/src/LexRuby.cxx index 56df30589..18e94d4d8 100644 --- a/src/LexRuby.cxx +++ b/src/LexRuby.cxx @@ -98,7 +98,7 @@ static bool keywordIsModifier(const char *word,                                Accessor &styler);  static int ClassifyWordRb(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord) { -	char s[100]; +	char s[MAX_KEYWORD_LENGTH];      unsigned int i, j;  	unsigned int lim = end - start + 1; // num chars to copy  	if (lim >= MAX_KEYWORD_LENGTH) { | 
