Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Thu, 17 Mar 2005 21:33:41 +0000 (21:33 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Thu, 17 Mar 2005 21:33:41 +0000 (21:33 +0000)
respect $quote_empty when f=f replying to f=f messages

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@193 e385b8ad-14ed-0310-8656-cc95a2468c6d

handler.c

index d407495..030916d 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -1233,11 +1233,13 @@ 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) {
   /* 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<ql;++i) state_putc('>',s);
-    if (option(OPTSTUFFQUOTED))
-      state_putc(' ',s);
+    if (option (OPTQUOTEEMPTY)) {
+      if (s->prefix)
+        state_puts(s->prefix,s);
+      for (i=0;i<ql;++i) state_putc('>',s);
+      if (option(OPTSTUFFQUOTED))
+        state_putc(' ',s);
+    }
     state_putc('\n',s);
     return;
   }
     state_putc('\n',s);
     return;
   }