aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexRuby.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-01-10 23:11:57 +0000
committernyamatongwe <unknown>2002-01-10 23:11:57 +0000
commit9fbdf629124454ddfc8ff9fc10ed4841d2ef8fba (patch)
treeccf8d10998c2a32af1e3a8e66cf75d93669fc6a1 /src/LexRuby.cxx
parentd43d89fa81e0b04b762c2a9d58cb3d86d0400ec2 (diff)
downloadscintilla-mirror-9fbdf629124454ddfc8ff9fc10ed4841d2ef8fba.tar.gz
Made code bool-safe and turned Visual C++ warning 4800 back on.
Diffstat (limited to 'src/LexRuby.cxx')
-rw-r--r--src/LexRuby.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexRuby.cxx b/src/LexRuby.cxx
index b29eee3bb..44bbf7216 100644
--- a/src/LexRuby.cxx
+++ b/src/LexRuby.cxx
@@ -21,7 +21,7 @@
static void ClassifyWordRb(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord) {
char s[100];
- bool wordIsNumber = isdigit(styler[start]);
+ bool wordIsNumber = isdigit(styler[start]) != 0;
for (unsigned int i = 0; i < end - start + 1 && i < 30; i++) {
s[i] = styler[start + i];
s[i + 1] = '\0';