From: Andrew Ekstedt Date: Sat, 24 Jan 2015 22:57:01 +0000 (-0800) Subject: image: fix typo in Alpha16 doc comment X-Git-Tag: go1.5beta1~2273 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dfc4997ede7c4dc1f10263ab00e3f196dfb8c313;p=gostls13.git image: fix typo in Alpha16 doc comment Change-Id: Ie7031ae37f52ea1f229bfb769daf306d537b3d3e Reviewed-on: https://go-review.googlesource.com/3300 Reviewed-by: Minux Ma --- diff --git a/src/image/image.go b/src/image/image.go index 6b8e5c4877..e0ecd92baa 100644 --- a/src/image/image.go +++ b/src/image/image.go @@ -570,7 +570,7 @@ func NewAlpha(r Rectangle) *Alpha { return &Alpha{pix, 1 * w, r} } -// Alpha16 is an in-memory image whose At method returns color.Alpha64 values. +// Alpha16 is an in-memory image whose At method returns color.Alpha16 values. type Alpha16 struct { // Pix holds the image's pixels, as alpha values in big-endian format. The pixel at // (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*2].