~sircmpwn/aerc

6ddd347b06e840f064106a8181ae570e2d33d395 — y0ast a month ago f09e396
Make mimetype check consistent across cases
1 files changed, 1 insertions(+), 1 deletions(-)

M widgets/msgviewer.go
M widgets/msgviewer.go => widgets/msgviewer.go +1 -1
@@ 586,7 586,7 @@ func (pv *PartViewer) attemptCopy() {
	}
	go func() {
		pv.writeMailHeaders()
		if pv.part.MIMEType == "text" {
		if strings.EqualFold(pv.part.MIMEType, "text") {
			// if the content is plain we can strip ansi control chars
			pv.copySourceToSinkStripAnsi()
		} else {