about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/aerc.go2
-rw-r--r--widgets/exline.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 345f3ea..87009cd 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -301,7 +301,7 @@ func (aerc *Aerc) SelectTab(name string) bool {
 }
 
 func (aerc *Aerc) SelectTabIndex(index int) bool {
-	for i, _ := range aerc.tabs.Tabs {
+	for i := range aerc.tabs.Tabs {
 		if i == index {
 			aerc.tabs.Select(i)
 			return true
diff --git a/widgets/exline.go b/widgets/exline.go
index 8ec69d6..1482f0e 100644
--- a/widgets/exline.go
+++ b/widgets/exline.go
@@ -92,7 +92,7 @@ type nullHistory struct {
 	input *ui.TextInput
 }
 
-func (_ *nullHistory) Add(string) {}
+func (*nullHistory) Add(string) {}
 
 func (h *nullHistory) Next() string {
 	return h.input.String()
@@ -102,4 +102,4 @@ func (h *nullHistory) Prev() string {
 	return h.input.String()
 }
 
-func (_ *nullHistory) Reset() {}
+func (*nullHistory) Reset() {}