aboutsummaryrefslogtreecommitdiff
path: root/src/image
diff options
context:
space:
mode:
authorMartin Möhrmann <martisch@uos.de>2016-02-24 11:55:20 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2016-02-24 18:42:29 +0000
commitfdd0179bb1fdd70d405929b78c7d2fb6b61369b0 (patch)
tree5dadc692c0e8ec767846f9dfc0fee73338d0b5b8 /src/image
parent4feb47bc765d2cd7d774b0a28b06e8d81a1affe7 (diff)
downloadgo-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.tar.xz
all: fix typos and spelling
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913 Reviewed-on: https://go-review.googlesource.com/19829 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/gif/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/gif/reader.go b/src/image/gif/reader.go
index 6a133124ad..72b52e36e5 100644
--- a/src/image/gif/reader.go
+++ b/src/image/gif/reader.go
@@ -210,7 +210,7 @@ func (d *decoder) decode(r io.Reader, configOnly bool) error {
// for an image". In practice, though, giflib (a widely used C
// library) does not enforce this, so we also accept lzwr returning
// io.ErrUnexpectedEOF (meaning that the encoded stream hit io.EOF
- // before the LZW decoder saw an explict end code), provided that
+ // before the LZW decoder saw an explicit end code), provided that
// the io.ReadFull call above successfully read len(m.Pix) bytes.
// See https://golang.org/issue/9856 for an example GIF.
if n, err := lzwr.Read(d.tmp[:1]); n != 0 || (err != io.EOF && err != io.ErrUnexpectedEOF) {