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
|
@ -168,7 +168,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
|
||||||
part := findPlaintext(msg.BodyStructure, nil)
|
part := findPlaintext(msg.BodyStructure, nil)
|
||||||
if part == nil {
|
if part == nil {
|
||||||
//mkey... let's get the first thing that isn't a container
|
//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 {
|
if part == nil {
|
||||||
// give up, use whatever is first
|
// give up, use whatever is first
|
||||||
part = []int{1}
|
part = []int{1}
|
||||||
|
|
Loading…
Reference in New Issue