diff options
Diffstat (limited to 'Godeps/_workspace/src/golang.org/x/text/encoding/japanese/shiftjis.go')
-rw-r--r-- | Godeps/_workspace/src/golang.org/x/text/encoding/japanese/shiftjis.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Godeps/_workspace/src/golang.org/x/text/encoding/japanese/shiftjis.go b/Godeps/_workspace/src/golang.org/x/text/encoding/japanese/shiftjis.go index 70022bda1..424cb8be0 100644 --- a/Godeps/_workspace/src/golang.org/x/text/encoding/japanese/shiftjis.go +++ b/Godeps/_workspace/src/golang.org/x/text/encoding/japanese/shiftjis.go @@ -152,7 +152,8 @@ loop: goto write2 } } - r = encoding.ASCIISub + err = internal.ErrASCIIReplacement + break } write1: |