From d72db04acb5e91136246adf1b778db1ca099973c Mon Sep 17 00:00:00 2001 From: qydysky Date: Thu, 14 Nov 2024 22:59:55 +0800 Subject: [PATCH] 1 --- file/FileWR.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/FileWR.go b/file/FileWR.go index d0d54ea..76ab6af 100644 --- a/file/FileWR.go +++ b/file/FileWR.go @@ -722,7 +722,7 @@ func (t *File) read() io.Reader { } func (t *File) seek() io.Seeker { - if t.Config.AutoClose || t.rr == nil { + if t.Config.AutoClose || t.sr == nil { t.sr = io.Seeker(t.file) if t.Config.Coder != nil { panic("no support") -- 2.39.2