From fed285f6e5ffa40ad53ae31b2a454580ee12bcd0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 2 Apr 2004 18:25:45 +0000 Subject: Revert Radek's last change to fix bug #56381. 2004-04-02 Jeffrey Stedfast * e-msg-composer.c (set_editor_text): Revert Radek's last change to fix bug #56381. svn path=/trunk/; revision=25303 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/composer/ChangeLog b/composer/ChangeLog index f8449abc57..88b023171f 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2004-04-02 Jeffrey Stedfast + + * e-msg-composer.c (set_editor_text): Revert Radek's last change + to fix bug #56381. + 2004-04-01 Jeffrey Stedfast * e-msg-composer.c (get_signature_html): Fixed some breakage I diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 4f9642c6d7..29a42ba111 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1106,8 +1106,9 @@ set_editor_text(EMsgComposer *composer, const char *text, int setsig) char *p; len += strlen (sig); - content = p = mem = g_malloc (len + 1); + content = mem = g_malloc (len + 5); p = g_stpcpy (mem, text); + p = g_stpcpy (p, "
"); strcpy (p, sig); g_free (sig); } else { -- cgit