PATCH: Bugfix for subjectless listtext
I noticed this bug while perusing the code with the view to a future feature implementation. If a listtext has no subject, the first line is taken to be part of the listtext, but does not undergo substitution as it should. Probably rare for it to be needed, but I think it's a bug that it isn't treated properly.
I have *NOT* tested this one. I have neither confirmed the bug is there, nor that the patch fixes it. This is more a 'heads up' that you may like to review this part of the code.
Ben.
src/prepstdreply.c +4 -0
@@ -250,6 +250,10 @@if (line) { utfline =unistr_escaped_to_utf8 (line);myfree (line); + tmp = utfline; + str =substitute (utfline, listaddr, listdelim, tokencount, data, mailname); +myfree (tmp); + utfline = str; }else { utfline =NULL ; }