diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-15 17:01:43 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-15 18:01:43 +1000 |
commit | 15229bbdab5d99ce7f390a7e215a572ab155a5ac (patch) | |
tree | 37b8bf40eef59c13b198b14dce679e1afcfcc85b /pkg/gui/commit_message_panel.go | |
parent | 63e6eea9ecd52c908e75f9f1d456589d1574872e (diff) |
more removing of g and v
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r-- | pkg/gui/commit_message_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go index af79795f1..9c1a3ff52 100644 --- a/pkg/gui/commit_message_panel.go +++ b/pkg/gui/commit_message_panel.go @@ -56,8 +56,8 @@ func (gui *Gui) handleCommitClose(g *gocui.Gui, v *gocui.View) error { return gui.switchFocus(v, gui.getFilesView()) } -func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error { - if _, err := g.SetViewOnTop("commitMessage"); err != nil { +func (gui *Gui) handleCommitFocused() error { + if _, err := gui.g.SetViewOnTop("commitMessage"); err != nil { return err } |