This commit is contained in:
Kovid Goyal
2025-11-23 10:24:40 +05:30
parent ffac770cce
commit 2184d3b7d0

View File

@@ -216,7 +216,7 @@ type TextFilePreview struct {
}
func (p *TextFilePreview) String() string {
return fmt.Sprint("TextFilePreview{%#v, ready: %v}", p.path, p.ready.Load())
return fmt.Sprintf("TextFilePreview{%#v, ready: %v}", p.path, p.ready.Load())
}
func (p *TextFilePreview) IsValidForColorScheme(light bool) bool { return p.light == light }