From 36d82267bb1e0cc88dc38d521b0e30efdf83f9e9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 2 Jan 2023 16:52:37 +0530 Subject: [PATCH] ... --- tools/cmd/icat/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmd/icat/main.go b/tools/cmd/icat/main.go index d00705053..2f075c607 100644 --- a/tools/cmd/icat/main.go +++ b/tools/cmd/icat/main.go @@ -72,7 +72,7 @@ func parse_background() (err error) { if err != nil { return fmt.Errorf("Invalid value for --background: %w", err) } - remove_alpha = &images.NRGBColor{col.Red, col.Green, col.Blue} + remove_alpha = &images.NRGBColor{R: col.Red, G: col.Green, B: col.Blue} return }