summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-01-03 12:56:11 +0000
committerNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2018-01-03 12:56:11 +0000
commitcba334d79454278104bdd8bd4236897bfee2921e (patch)
tree7ae6dea7fad386d39bc9e366bea6b325b99158ee
parentb0bb842dba1459c5d60c29a2c1a470de026841df (diff)
[d] Fix printable range for chars
-rwxr-xr-xd2
1 files changed, 1 insertions, 1 deletions
diff --git a/d b/d
index b03a28c..40d8e2a 100755
--- a/d
+++ b/d
@@ -19,7 +19,7 @@ when 'c'
end
dec = doz = hex = oct = bin = true
-char = num > 31 && num < 128
+char = num > 31 && num < 127
out = ARGV.shift
case out
when 'd'