]> Cypherpunks repositories - gostls13.git/commitdiff
image/color/palette: add godoc link to generator program
authorIan Lance Taylor <iant@golang.org>
Sat, 9 Nov 2024 00:02:10 +0000 (16:02 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 12 Nov 2024 18:35:44 +0000 (18:35 +0000)
CL 535196 accidentally changed a generated file without changing
the generator program. This updates the generator program to generate
the current file.

Change-Id: I06513c9b29c7ca4084ac3768229ef8793efe0218
Reviewed-on: https://go-review.googlesource.com/c/go/+/625901
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/image/color/palette/gen.go

index be46c57020c58e1ac69f02e08ae85ea435e8094f..741be16ac1b9fa7b3f9b4e4daa4085c294548ccc 100644 (file)
@@ -80,7 +80,7 @@ func printPlan9(w io.Writer) {
        }
        fmt.Fprintln(w, "// Plan9 is a 256-color palette that partitions the 24-bit RGB space")
        fmt.Fprintln(w, "// into 4×4×4 subdivision, with 4 shades in each subcube. Compared to the")
-       fmt.Fprintln(w, "// WebSafe, the idea is to reduce the color resolution by dicing the")
+       fmt.Fprintln(w, "// [WebSafe], the idea is to reduce the color resolution by dicing the")
        fmt.Fprintln(w, "// color cube into fewer cells, and to use the extra space to increase the")
        fmt.Fprintln(w, "// intensity resolution. This results in 16 gray shades (4 gray subcubes with")
        fmt.Fprintln(w, "// 4 samples in each), 13 shades of each primary and secondary color (3")