mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
c1af14c22a
commit
210c417d96
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ func OpenNativeImageFromReader(f io.ReadSeeker) (ans *ImageData, err error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
f.Seek(0, io.SeekStart)
|
||||
_, _ = f.Seek(0, io.SeekStart)
|
||||
ans = &ImageData{Width: c.Width, Height: c.Height, Format_uppercase: strings.ToUpper(fmt)}
|
||||
|
||||
if ans.Format_uppercase == "GIF" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue