commit 94a8582

Hugo Osvaldo Barrera  ·  2023-08-24 15:25:21 +0000 UTC
parent 0604b0a
Drop unnecessary fmt.Sprintf
1 files changed,  +1, -1
M app.go
M app.go
+1, -1
1@@ -264,7 +264,7 @@ func (app *App) eventLoop() {
2 			if netID != "" && buffer != "" {
3 				app.win.SetTitle(fmt.Sprintf("%s — senpai", buffer))
4 			} else {
5-				app.win.SetTitle(fmt.Sprintf("senpai"))
6+				app.win.SetTitle("senpai")
7 			}
8 		}
9 	}