aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/encoding/ascii85/ascii85.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-05-04 15:01:11 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-05-04 15:01:11 +0000
commit33e337e34d69a2e298be8b6c109b601c2986339b (patch)
treedf1037674f2c69011469485414315a50607f9d08 /libgo/go/encoding/ascii85/ascii85.go
parent1eae36f08cddc7779cd0ed75b359c9a54f67adff (diff)
downloadgcc-33e337e34d69a2e298be8b6c109b601c2986339b.zip
gcc-33e337e34d69a2e298be8b6c109b601c2986339b.tar.gz
gcc-33e337e34d69a2e298be8b6c109b601c2986339b.tar.bz2
libgo: Update to Go 1.0.1 release.
From-SVN: r187163
Diffstat (limited to 'libgo/go/encoding/ascii85/ascii85.go')
-rw-r--r--libgo/go/encoding/ascii85/ascii85.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/encoding/ascii85/ascii85.go b/libgo/go/encoding/ascii85/ascii85.go
index 7d004b5..7050227 100644
--- a/libgo/go/encoding/ascii85/ascii85.go
+++ b/libgo/go/encoding/ascii85/ascii85.go
@@ -57,6 +57,7 @@ func Encode(dst, src []byte) int {
if v == 0 && len(src) >= 4 {
dst[0] = 'z'
dst = dst[1:]
+ src = src[4:]
n++
continue
}