From 34c8a93e525ad08d6a333a8c8178d21adb5cd424 Mon Sep 17 00:00:00 2001 From: Jacob Leach Date: Fri, 27 Jul 2001 16:40:40 +0000 Subject: Jason Leach * 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. svn path=/trunk/; revision=11447 --- composer/ChangeLog | 6 ++++++ composer/e-msg-composer.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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" "", format_html ? "" : "
\n",
-					format_html || !strncmp ("-- \n", text, 3) ? "" : "-- \n",
+					format_html || !strncmp ("-- \n", text, 4) ? "" : "-- \n",
 					text,
 					format_html ? "" : "
\n"); g_free (text); -- cgit v1.2.3