aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-05-31 01:52:58 +0000
committernyamatongwe <unknown>2001-05-31 01:52:58 +0000
commitc0a33c91a2a472e5960b3f38e5799d3967d5e7e6 (patch)
tree3819064417fdc6b1085b2f9f180cf824afe39122
parentfa69d1f7a81205388859c371beb099973183674f (diff)
downloadscintilla-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.h2
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'));
}