msg/reply: scoping error of part slice for quoting
part was left unassigned in the outer scope. Leading to errors while quoting.
This commit is contained in:
parent
a7986f5706
commit
83e7c7661d
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue