From 2afc5f5b1a31b7813bff2ce3da665ae59a1e77bc Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Thu, 1 Feb 2024 00:31:28 +0600 Subject: [PATCH] Fixed minor errors reported by the analyzer. --- src/convertor/view_setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/convertor/view_setting.go b/src/convertor/view_setting.go index 2ed95b6..c43a942 100644 --- a/src/convertor/view_setting.go +++ b/src/convertor/view_setting.go @@ -18,7 +18,7 @@ func (v View) SelectFFPath( save func(ffmpegPath string, ffprobePath string) error, cancel func(), ) { - errorMessage := canvas.NewText("", color.RGBA{255, 0, 0, 255}) + errorMessage := canvas.NewText("", color.RGBA{R: 255, G: 0, B: 0, A: 255}) errorMessage.TextSize = 16 errorMessage.TextStyle = fyne.TextStyle{Bold: true}