From bdb5e3e6581169bdb1d912c158336f409151b491 Mon Sep 17 00:00:00 2001 From: Wagner Riffel Date: Tue, 3 Sep 2019 16:34:06 -0300 Subject: commands: move ParseNextPrevMessage error value to its last return value Signed-off-by: Wagner Riffel --- commands/msgview/next.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msgview/next.go') diff --git a/commands/msgview/next.go b/commands/msgview/next.go index 3943ac90..4dc504c9 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 } -- cgit