From: Ian Lance Taylor Date: Sat, 9 Nov 2024 00:02:10 +0000 (-0800) Subject: image/color/palette: add godoc link to generator program X-Git-Tag: go1.24rc1~428 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=70f6c139ecdcc42fb1f94e5a0495aae87660ba1f;p=gostls13.git image/color/palette: add godoc link to generator program 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 Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Commit-Queue: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov --- diff --git a/src/image/color/palette/gen.go b/src/image/color/palette/gen.go index be46c57020..741be16ac1 100644 --- a/src/image/color/palette/gen.go +++ b/src/image/color/palette/gen.go @@ -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")