aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog10
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 13238107a2..55ef9d90e2 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,13 @@
+2002-07-23 Not Zed <NotZed@Ximian.com>
+
+ * Applied patch below.
+
+2002-07-19 Christian Kreibich <christian@whoop.org>
+
+ * e.msg-composer.c (get_signature_html): Test for the signature
+ delimiter not only at the beginning of a signature file, but also
+ inside the signature.
+
2002-07-23 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 41d85a91d5..5d044725c9 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -955,7 +955,7 @@ get_signature_html (EMsgComposer *composer)
"%s%s%s%s"
"</TD></TR></TABLE>",
format_html ? "" : "<PRE>\n",
- format_html || !strncmp ("-- \n", text, 4) ? "" : "-- \n",
+ format_html || (!strncmp ("-- \n", text, 4) || strstr(text, "\n-- \n")) ? "" : "-- \n",
text,
format_html ? "" : "</PRE>\n");
g_free (text);