diff options
author | Srivathsan Murali <sri@vathsan.com> | 2020-05-22 12:05:23 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-05-22 15:01:36 +0200 |
commit | 83e7c7661dfe42e75641d764d713d144c2d7c6ce (patch) | |
tree | a8576803c46755b008f587e585c5e1169d9f3ab4 /commands/msg | |
parent | a7986f5706a9ee93ab084331effcb7136b4ae50e (diff) | |
download | aerc-83e7c7661dfe42e75641d764d713d144c2d7c6ce.tar.gz |
msg/reply: scoping error of part slice for quoting
part was left unassigned in the outer scope. Leading to errors while quoting.
Diffstat (limited to 'commands/msg')
-rw-r--r-- | commands/msg/reply.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 762c15e..8e0feef 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -168,7 +168,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error { part := findPlaintext(msg.BodyStructure, nil) if part == nil { //mkey... let's get the first thing that isn't a container - part := findFirstNonMultipart(msg.BodyStructure, nil) + part = findFirstNonMultipart(msg.BodyStructure, nil) if part == nil { // give up, use whatever is first part = []int{1} |