aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJacob Leach <jleach@src.gnome.org>2001-07-28 00:40:40 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-28 00:40:40 +0800
commit34c8a93e525ad08d6a333a8c8178d21adb5cd424 (patch)
treef32cc8fd1295e05478437b2547cb35fa1adad488 /composer
parent4157d65284dfe6d8547bd2176cbe48f13f08bc5a (diff)
downloadgsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar
gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar.gz
gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar.bz2
gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar.lz
gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar.xz
gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar.zst
gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.zip
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. svn path=/trunk/; revision=11447
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);