aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msgview
diff options
context:
space:
mode:
authorWagner Riffel <wgrriffel@gmail.com>2019-09-03 16:34:06 -0300
committerDrew DeVault <sir@cmpwn.com>2019-09-04 16:30:57 -1000
commitbdb5e3e6581169bdb1d912c158336f409151b491 (patch)
tree71aeb42039a5b717b5aa881dfdac28ddb6c3d86b /commands/msgview
parentbaa70469c3b25e1b937c9c2a9e0b16762a227bca (diff)
downloadaerc-bdb5e3e6581169bdb1d912c158336f409151b491.tar.gz
commands: move ParseNextPrevMessage error value to its last return value
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
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 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
}