diff options
author | Jacob Leach <jleach@src.gnome.org> | 2001-07-28 00:40:40 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-28 00:40:40 +0800 |
commit | 34c8a93e525ad08d6a333a8c8178d21adb5cd424 (patch) | |
tree | f32cc8fd1295e05478437b2547cb35fa1adad488 /composer/e-msg-composer.c | |
parent | 4157d65284dfe6d8547bd2176cbe48f13f08bc5a (diff) | |
download | gsoc2013-evolution-34c8a93e525ad08d6a333a8c8178d21adb5cd424.tar.gz 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/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |