From: Jose Dapena Paz Date: Thu, 14 Jun 2007 15:14:07 +0000 (+0000) Subject: * src/modest-text-utils.c: X-Git-Tag: git_migration_finished~3275 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=720d8697b3529d547f624d85287d9d0663d8c029 * src/modest-text-utils.c: * (modest_text_utils_cite): cite shouldn't include replied message body, only signature (fixes NB#58185). pmo-trunk-r2238 --- diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index cb1a16e..874c0f9 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -149,7 +149,7 @@ modest_text_utils_cite (const gchar *text, const gchar *from, time_t sent_date) { - gchar *tmp, *retval; + gchar *retval; gchar *tmp_sig; g_return_val_if_fail (text, NULL); @@ -163,10 +163,8 @@ modest_text_utils_cite (const gchar *text, tmp_sig = g_strdup (signature); } - tmp = cite (sent_date, from); - retval = g_strdup_printf ("%s%s%s\n", tmp_sig, tmp, text); + retval = g_strdup_printf ("\n%s\n", tmp_sig); g_free (tmp_sig); - g_free (tmp); return retval; }