aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index c3e23b5b4d..aa9c4581a9 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-27 Jason Leach <jleach@ximian.com>
+
+ * e-msg-composer.c (get_signature_html): "-- \n" is 4 chars long,
+ so when checking if it's already in the sig, strncmp should check
+ 4 chars, not 3.
+
2001-07-26 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (get_signature_html): Correct our manually inserted
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index dcfdd896a8..fc9d0516b0 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -772,7 +772,7 @@ get_signature_html (EMsgComposer *composer)
"%s%s%s%s"
"</TD></TR></TABLE>",
format_html ? "" : "<PRE>\n",
- format_html || !strncmp ("-- \n", text, 3) ? "" : "-- \n",
+ format_html || !strncmp ("-- \n", text, 4) ? "" : "-- \n",
text,
format_html ? "" : "</PRE>\n");
g_free (text);