Fix some issues reported by staticcheck

This commit is contained in:
Kovid Goyal
2022-09-21 19:10:57 +05:30
parent d6f42a11d7
commit ef49634353
4 changed files with 4 additions and 7 deletions

View File

@@ -230,7 +230,7 @@ func (self *hyperlink_state) apply_osc(raw string) {
self.url = parts[2]
}
func (self hyperlink_state) reset() {
func (self *hyperlink_state) reset() {
self.id = ""
self.url = ""
}