X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=handler.c;h=09556d18fa08544bd5bfdbe176383de66be8af99;hp=e53ca37ed6b7c27a66db1d86def85457c1d5c096;hb=fbce8661618b322f5cfd8efd6ead47163b04d69a;hpb=2c311482c97a1b222ef240dae3383ce2e11a0c23 diff --git a/handler.c b/handler.c index e53ca37..09556d1 100644 --- a/handler.c +++ b/handler.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include @@ -1216,7 +1220,11 @@ static void print_flowed_line(char * line, STATE *s,int ql) { /* fprintf(stderr,"print_flowed_line will print `%s' with ql = %d\n",line,ql); */ if (strlen(line)==0) { + if (s->prefix) + state_puts(s->prefix,s); for (i=0;i',s); + if (option(OPTSTUFFQUOTED)) + state_putc(' ',s); state_putc('\n',s); return; } @@ -1257,11 +1265,15 @@ static void print_flowed_line(char * line, STATE *s,int ql) { } else { /* fprintf(stderr,"if 1 else\n"); */ } + if (s->prefix) + state_puts(s->prefix,s); for (i=0;i',s); - if (option(OPTSTUFFQUOTED) && ql>0) state_putc(' ',s); + if (option(OPTSTUFFQUOTED) && (ql>0 || s->prefix)) state_putc(' ',s); state_puts(oldpos,s); /* fprintf(stderr,"print_flowed_line: `%s'\n",oldpos); */ + if (pos