aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2004-02-21 21:54:52 +0000
committernyamatongwe <unknown>2004-02-21 21:54:52 +0000
commit061ad50f434fae0476a893212a299d1261d91407 (patch)
tree6cdf81995775b781c1f2b6ed679589efd9da5d7b /src
parent593d743240bc8bdce8d18b1c0e2b9180a0651a7d (diff)
downloadscintilla-mirror-061ad50f434fae0476a893212a299d1261d91407.tar.gz
Change to avoid signed/unsigned character issue.
Diffstat (limited to 'src')
-rw-r--r--src/CallTip.cxx2
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,