aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index aa955b27db..9173e912fc 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-01 Peter Williams <peterw@helixcode.com>
+
+ * e-msg-composer.c (set_editor_text): sizeof("--\") !=
+ strlen("--\n"), breaking the test for the signature prefix.
+
2000-07-28 JP Rosevear <jpr@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 67b1eaa206..9ba4862769 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -363,7 +363,7 @@ set_editor_text (BonoboWidget *editor, char *sig_file, const char *text)
sig = get_signature (sig_file);
if (sig) {
- if (!strncmp ("--\n", sig, sizeof ("--\n")))
+ if (!strncmp ("--\n", sig, 3))
fulltext = g_strdup_printf ("%s<BR>\n<PRE>\n%s</PRE>",
text, sig);
else