diff options
author | nyamatongwe <devnull@localhost> | 2007-10-15 11:45:16 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-10-15 11:45:16 +0000 |
commit | b1971220624bb07907144c27c25a1e74d2bdd86e (patch) | |
tree | 706f634820eaa51561015882b961825d0d58e050 /src/LexHTML.cxx | |
parent | 0127852a8ab813149d9bf4c2643d00c3cd857a4e (diff) | |
download | scintilla-mirror-b1971220624bb07907144c27c25a1e74d2bdd86e.tar.gz |
Safety with non-ASCII.
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 3db89e2f6..1738c476d 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -961,7 +961,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty } // find the length of the word int size = 1; - while (setHTMLWord.Contains(styler.SafeGetCharAt(i + size))) + while (setHTMLWord.Contains(static_cast<unsigned char>(styler.SafeGetCharAt(i + size)))) size++; styler.ColourTo(i + size - 1, StateToPrint); i += size - 1; |