This commit is contained in:
Kovid Goyal 2023-01-02 16:52:37 +05:30
parent f9feb4954a
commit 36d82267bb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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
}