about summary refs log tree commit diff stats
path: root/commands/msgview
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview')
-rw-r--r--commands/msgview/next.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msgview/next.go b/commands/msgview/next.go
index 3943ac9..4dc504c 100644
--- a/commands/msgview/next.go
+++ b/commands/msgview/next.go
@@ -19,8 +19,8 @@ func (NextPrevMsg) Complete(aerc *widgets.Aerc, args []string) []string {
 	return nil
 }
 
-	err, n, pct := account.ParseNextPrevMessage(args)
 func (NextPrevMsg) Execute(aerc *widgets.Aerc, args []string) error {
+	n, pct, err := account.ParseNextPrevMessage(args)
 	if err != nil {
 		return err
 	}