diff options
author | nyamatongwe <unknown> | 2001-11-14 05:05:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-11-14 05:05:20 +0000 |
commit | 7a230a5e81d776fcac11ec9dbc38f00aa61ba237 (patch) | |
tree | 52038f9b1679bf0e50bae676a266686ec6838f1e /src/LexHTML.cxx | |
parent | e77b37f131911d1ab2bfcedc3ce0adfe08472956 (diff) | |
download | scintilla-mirror-7a230a5e81d776fcac11ec9dbc38f00aa61ba237.tar.gz |
Made PHP keyword detection case insensitive.
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r-- | src/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index cb0d277cd..5622f476f 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -303,7 +303,7 @@ static void classifyWordHTPHP(unsigned int start, unsigned int end, WordList &ke char s[30 + 1]; unsigned int i = 0; for (; i < end - start + 1 && i < 30; i++) { - s[i] = styler[start + i]; + s[i] = static_cast<char>(tolower(styler[start + i])); } s[i] = '\0'; if (keywords.InList(s)) |