summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-18 07:01:37 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-18 07:01:37 +0000
commit1f3000232410ad1ed4e745f28b8acaad63785b82 (patch)
tree3bb7a23b0105e8fce353cb23df3b813427f26f39 /roundcubemail/program
parent42745f96b67e85ce5f7b1195f0b7ecd22bc93d6b (diff)
- wrap also prefix line in reply body
git-svn-id: https://svn.roundcube.net/trunk@1985 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 5c6e03f62..efc979023 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -526,10 +526,10 @@ function rcmail_create_reply_body($body, $bodyIsHtml)
$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 = '';
}