[Svn] r1985 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Sat Oct 18 09:01:37 CEST 2008


Author: alec
Date: 2008-10-18 02:01:37 -0500 (Sat, 18 Oct 2008)
New Revision: 1985

Modified:
   trunk/roundcubemail/program/steps/mail/compose.inc
Log:
- wrap also prefix line in reply body


Modified: trunk/roundcubemail/program/steps/mail/compose.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/compose.inc	2008-10-17 06:42:12 UTC (rev 1984)
+++ trunk/roundcubemail/program/steps/mail/compose.inc	2008-10-18 07:01:37 UTC (rev 1985)
@@ -526,10 +526,10 @@
       $body = join("\n", $a_lines);
       }
 
-    // add title line
-    $prefix = sprintf("On %s, %s wrote:\n",
+    // add title line(s)
+    $prefix = wordwrap(sprintf("On %s, %s wrote:\n",
       $MESSAGE->headers->date,
-      $MESSAGE->get_header('from'));
+      $MESSAGE->get_header('from')), 76);
 
     $suffix = '';
   }

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list