summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-18 07:01:37 +0000
committeralecpl <alec@alec.pl>2008-10-18 07:01:37 +0000
commit19c9d396df708052fd7ea774aa809f161cf8eac2 (patch)
tree4aea3752cdd79f21cf0ad697cf55250c88221576 /program/steps
parent898249d72793e169e64ecfdada86ccae2e7d7814 (diff)
- wrap also prefix line in reply body
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/compose.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 5c6e03f62..efc979023 100644
--- a/program/steps/mail/compose.inc
+++ b/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 = '';
}