mirror of
https://github.com/golang/go.git
synced 2025-05-30 19:52:53 +00:00
encoding/hex: don't try to print DEL.
R=agl CC=golang-dev https://golang.org/cl/4551081
This commit is contained in:
parent
5ab096d030
commit
c72dbaf312
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user