From 24e860a1eb574e3e3235c0f42d5ca57e871b2796 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 5 Jul 2007 09:33:58 +0000 Subject: Keywords work with characters > 0x79. --- src/PropSet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3