aboutsummaryrefslogtreecommitdiffstats
path: root/ccl.go
diff options
context:
space:
mode:
Diffstat (limited to 'ccl.go')
-rw-r--r--ccl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccl.go b/ccl.go
index 2a80514..360bde4 100644
--- a/ccl.go
+++ b/ccl.go
@@ -306,7 +306,7 @@ func checkNum(b []byte) bool {
return true
}
b = b[1:]
- if len(b) > 0 && b[0] == '-' || b[0] == '+' {
+ if len(b) > 0 && (b[0] == '-' || b[0] == '+') {
b = b[1:]
}
if len(b) == 0 {