diff options
author | nyamatongwe <devnull@localhost> | 2004-02-21 21:54:52 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-02-21 21:54:52 +0000 |
commit | f4a938df11f154a52502e36aaf56cc6e77e3a94c (patch) | |
tree | 6cdf81995775b781c1f2b6ed679589efd9da5d7b | |
parent | 09a0b88d44e66d46581ae8f5f226e9fe168450b5 (diff) | |
download | scintilla-mirror-f4a938df11f154a52502e36aaf56cc6e77e3a94c.tar.gz |
Change to avoid signed/unsigned character issue.
-rw-r--r-- | src/CallTip.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 2f299afff..93e888d0e 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -49,7 +49,7 @@ void CallTip::RefreshColourPalette(Palette &pal, bool want) { } static bool IsArrowCharacter(char ch) { - return (ch >= 0) && (ch <= '\002'); + return (ch == 0) || (ch == '\001') || (ch == '\002'); } void CallTip::DrawChunk(Surface *surface, int &x, const char *s, |