aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-01 23:50:39 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-01 23:50:39 +0800
commit7f807a631fd7538fa361d64cf2f7779ce0a80e99 (patch)
treee03f5b9762e25ca57a36c14b67a2759d48f442d1 /composer
parent799fedf1c9bbe55c7c4f69250363d78c2da1fa37 (diff)
downloadgsoc2013-evolution-7f807a631fd7538fa361d64cf2f7779ce0a80e99.tar.gz
gsoc2013-evolution-7f807a631fd7538fa361d64cf2f7779ce0a80e99.tar.zst
gsoc2013-evolution-7f807a631fd7538fa361d64cf2f7779ce0a80e99.zip
Typo fix
svn path=/trunk/; revision=4447
Diffstat (limited to 'composer')
-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