]> Cypherpunks repositories - gostls13.git/commitdiff
image: fix typo in Alpha16 doc comment
authorAndrew Ekstedt <andrew.ekstedt@gmail.com>
Sat, 24 Jan 2015 22:57:01 +0000 (14:57 -0800)
committerMinux Ma <minux@golang.org>
Sun, 25 Jan 2015 22:46:49 +0000 (22:46 +0000)
Change-Id: Ie7031ae37f52ea1f229bfb769daf306d537b3d3e
Reviewed-on: https://go-review.googlesource.com/3300
Reviewed-by: Minux Ma <minux@golang.org>
src/image/image.go

index 6b8e5c4877e27b5fef3bab8d5bfb1c0da956a5cb..e0ecd92baaccc104747d534d229706222e8e5b69 100644 (file)
@@ -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].