diff options
author | nyamatongwe <unknown> | 2007-10-15 11:45:16 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-10-15 11:45:16 +0000 |
commit | 967237de6ecebd462704034c3ca19987231d5665 (patch) | |
tree | 706f634820eaa51561015882b961825d0d58e050 /src/LexHTML.cxx | |
parent | 375df043631562dc691a30ff6a937202feacf937 (diff) | |
download | scintilla-mirror-967237de6ecebd462704034c3ca19987231d5665.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; |