From 83e7c7661dfe42e75641d764d713d144c2d7c6ce Mon Sep 17 00:00:00 2001 From: Srivathsan Murali Date: Fri, 22 May 2020 12:05:23 +0200 Subject: msg/reply: scoping error of part slice for quoting part was left unassigned in the outer scope. Leading to errors while quoting. --- commands/msg/reply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msg') diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 762c15ea..8e0feef9 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} -- cgit