diff options
author | nyamatongwe <unknown> | 2001-05-31 01:52:58 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-05-31 01:52:58 +0000 |
commit | c0a33c91a2a472e5960b3f38e5799d3967d5e7e6 (patch) | |
tree | 3819064417fdc6b1085b2f9f180cf824afe39122 | |
parent | fa69d1f7a81205388859c371beb099973183674f (diff) | |
download | scintilla-mirror-c0a33c91a2a472e5960b3f38e5799d3967d5e7e6.tar.gz |
Made argument to IsAlphabetic be an unsigned int to handle DBCS
and Unicode characters. Unsure about this. Java doesn't have unsigned.
-rw-r--r-- | include/PropSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index 449bea3f1..6f6bf410f 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -79,7 +79,7 @@ inline bool nonFuncChar(char ch) { return strchr("\t\n\r !\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~", ch) != NULL; } -inline bool IsAlphabetic(char ch) { +inline bool IsAlphabetic(unsigned int ch) { return ((ch >= 'A') && (ch <= 'Z')) || ((ch >= 'a') && (ch <= 'z')); } |