aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-23 19:24:00 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-23 19:24:00 +0800
commit122a24ce8f71aba4b3e5c12581c6e66a3ad14c73 (patch)
treef560d975728be57b369aa4b2d2aa76aafc45142a /composer/e-msg-composer.c
parentb42221290cf5077a8154c6cf66fcdb3b3b1aea60 (diff)
downloadgsoc2013-evolution-122a24ce8f71aba4b3e5c12581c6e66a3ad14c73.tar.gz
gsoc2013-evolution-122a24ce8f71aba4b3e5c12581c6e66a3ad14c73.tar.zst
gsoc2013-evolution-122a24ce8f71aba4b3e5c12581c6e66a3ad14c73.zip
Applied patch below.
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. svn path=/trunk/; revision=17547
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
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);