diff options
Diffstat (limited to 'vendor/golang.org/x/text/encoding')
-rw-r--r-- | vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go b/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go index eb3157f0..e15b7bf6 100644 --- a/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go +++ b/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go @@ -57,7 +57,7 @@ loop: err = transform.ErrShortSrc break loop } - r = utf8.RuneError + r, size = utf8.RuneError, 1 goto write } size = 2 |