aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-03-30 01:32:59 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-03-30 01:32:59 +0800
commit724507dfa693bb75c17788619a956b5e858cd216 (patch)
treede2c7be469cf2de8310f3c6f88080910af2edb58
parent8a6f447395afc8cd55ae5d0e81632d45a9506f07 (diff)
downloadgsoc2013-evolution-724507dfa693bb75c17788619a956b5e858cd216.tar.gz
gsoc2013-evolution-724507dfa693bb75c17788619a956b5e858cd216.tar.zst
gsoc2013-evolution-724507dfa693bb75c17788619a956b5e858cd216.zip
do not add <br> between text and signature
2004-03-29 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_editor_text): do not add <br> between text and signature svn path=/trunk/; revision=25228
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index e919c2ff17..2ac0774225 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-29 Radek Doulik <rodo@ximian.com>
+
+ * e-msg-composer.c (set_editor_text): do not add <br> between text
+ and signature
+
2004-03-22 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (disable_editor): do not set editor
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2523182399..7ae3c6c690 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1097,10 +1097,9 @@ set_editor_text(EMsgComposer *composer, const char *text, int setsig)
if (setsig && (sig = get_signature_html (composer))) {
char *p;
- len += strlen (sig) + 4;
+ len += strlen (sig);
content = p = mem = g_malloc (len + 1);
p = g_stpcpy (mem, text);
- p = g_stpcpy (p, "<br>");
strcpy (p, sig);
g_free (sig);
} else {