diff --git a/lib/xgif/xgif.go b/lib/xgif/xgif.go index 52d9ba188..f6d1389ea 100644 --- a/lib/xgif/xgif.go +++ b/lib/xgif/xgif.go @@ -65,7 +65,7 @@ func AnimatePNGs(pngs [][]byte, animIntervalMs int) ([]byte, error) { } palettedImg, ok := gifImg.(*image.Paletted) if !ok { - return nil, fmt.Errorf("decoded git image could not be cast as *image.Paletted") + return nil, fmt.Errorf("decoded gif image could not be cast as *image.Paletted") } // 2. make GIF frames of the same size, keeping images centered and with a white background