mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Replace Fprintf calls with SetText calls
This commit is contained in:
@@ -10,7 +10,7 @@ func (widget *Widget) display() {
|
||||
|
||||
project := widget.currentGerritProject()
|
||||
if project == nil {
|
||||
fmt.Fprintf(widget.View, "%s", " Gerrit project data is unavailable (1)")
|
||||
widget.View.SetText(fmt.Sprintf("%s", " Gerrit project data is unavailable (1)"))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user