aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-07-05 09:33:58 +0000
committernyamatongwe <unknown>2007-07-05 09:33:58 +0000
commit24e860a1eb574e3e3235c0f42d5ca57e871b2796 (patch)
treeab7613939c76292b607999058609379e4db9f9be
parent4492a83b9bddaf7aa9ab0f00373adfd33cc9cdb8 (diff)
downloadscintilla-mirror-24e860a1eb574e3e3235c0f42d5ca57e871b2796.tar.gz
Keywords work with characters > 0x79.
-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;