if cmd is invalid, NULL it
commitca7335445eedf0da1b6518846338a7abdecbb7e1
authorPaul <paul@claws-mail.org>
Tue, 21 Nov 2023 11:40:17 +0000 (21 11:40 +0000)
committerPaul <paul@claws-mail.org>
Tue, 21 Nov 2023 11:40:17 +0000 (21 11:40 +0000)
tree8bc7d3b8a5428ca41acaa895a4945280ca278398
parent2573f543f6fea2532847112928aa77d8e66d5b5d
if cmd is invalid, NULL it

this prevents an execution attempt of an invalid command, and also prevents spewing text content into the debug output, and also prevents it being necessary to hit the Cancel button twice on the 'Open with...' dialogue
src/mimeview.c