diff options
author | nyamatongwe <devnull@localhost> | 2007-07-05 09:33:58 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-07-05 09:33:58 +0000 |
commit | 7b05ddcbd5c629bf33b539779514e1bf181b4fef (patch) | |
tree | ab7613939c76292b607999058609379e4db9f9be /src/PropSet.cxx | |
parent | ea186d07b9a0059942a930222b1992f593c6145a (diff) | |
download | scintilla-mirror-7b05ddcbd5c629bf33b539779514e1bf181b4fef.tar.gz |
Keywords work with characters > 0x79.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r-- | src/PropSet.cxx | 2 |
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; |