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 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 } -- cgit 1.4.1-2-gfad0 abel='branches'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
blob: d1eb96945fa8c006be224004f955d302b9577efb (plain) (tree)