aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PropSet.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-07-05 09:33:58 +0000
committernyamatongwe <devnull@localhost>2007-07-05 09:33:58 +0000
commit7b05ddcbd5c629bf33b539779514e1bf181b4fef (patch)
treeab7613939c76292b607999058609379e4db9f9be /src/PropSet.cxx
parentea186d07b9a0059942a930222b1992f593c6145a (diff)
downloadscintilla-mirror-7b05ddcbd5c629bf33b539779514e1bf181b4fef.tar.gz
Keywords work with characters > 0x79.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r--src/PropSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx
index 3b142b978..24a3314b3 100644
--- a/src/PropSet.cxx
+++ b/src/PropSet.cxx
@@ -865,7 +865,7 @@ bool WordList::InList(const char *s) {
unsigned char firstChar = s[0];
int j = starts[firstChar];
if (j >= 0) {
- while (words[j][0] == firstChar) {
+ while ((unsigned char)words[j][0] == firstChar) {
if (s[1] == words[j][1]) {
const char *a = words[j] + 1;
const char *b = s + 1;