diff options
author | nyamatongwe <devnull@localhost> | 2001-11-14 05:05:20 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-11-14 05:05:20 +0000 |
commit | de8b4c95eb69e0c5d5cfff114e86efcca0ff028e (patch) | |
tree | 52038f9b1679bf0e50bae676a266686ec6838f1e /src/LexHTML.cxx | |
parent | ec8bb54f5f554090598b3be9cede4b46cd19963a (diff) | |
download | scintilla-mirror-de8b4c95eb69e0c5d5cfff114e86efcca0ff028e.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)) |