aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@golang.org>2011-05-31 15:40:33 -0400
committerAdam Langley <agl@golang.org>2011-05-31 15:40:33 -0400
commitc72dbaf3124f5ce4d77aab723ebe5150d4c27ad2 (patch)
tree2bdd627ec2250cc5329b5532b78cbcbe98bd539d
parent5ab096d0308f7a3f8a59286e2a4123af7e26e3ae (diff)
downloadgo-c72dbaf3124f5ce4d77aab723ebe5150d4c27ad2.tar.gz
go-c72dbaf3124f5ce4d77aab723ebe5150d4c27ad2.zip
encoding/hex: don't try to print DEL.
R=agl CC=golang-dev https://golang.org/cl/4551081
-rw-r--r--src/pkg/encoding/hex/hex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/encoding/hex/hex.go b/src/pkg/encoding/hex/hex.go
index 227829ae5c..47cdedd607 100644
--- a/src/pkg/encoding/hex/hex.go
+++ b/src/pkg/encoding/hex/hex.go
@@ -128,7 +128,7 @@ type dumper struct {
}
func toChar(b byte) byte {
- if b < 32 || b > 127 {
+ if b < 32 || b > 126 {
return '.'
}
return b