1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:04:44 -07:00

encoding/hex: don't try to print DEL.

R=agl
CC=golang-dev
https://golang.org/cl/4551081
This commit is contained in:
Adam Langley 2011-05-31 15:40:33 -04:00
parent 5ab096d030
commit c72dbaf312

View File

@ -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