From 37b872c90fb875b9447e77b2a690abb4cadd2da6 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Fri, 15 Feb 2008 12:33:31 +0000 Subject: [PATCH] * src/modest-text-utils.c: (modest_text_utils_quote_plain_text): Place signature before the original message Fixes NB#80646 pmo-trunk-r4183 --- src/modest-text-utils.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index f2ca840..94d822e 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -834,10 +834,15 @@ modest_text_utils_quote_plain_text (const gchar *text, gsize len; gchar *attachments_string = NULL; - /* remaining will store the rest of the line if we have to break it */ q = g_string_new ("\n"); + if (signature != NULL) { + q = g_string_append (q, signature); + q = g_string_append_c (q, '\n'); + } q = g_string_append (q, cite); q = g_string_append_c (q, '\n'); + + /* remaining will store the rest of the line if we have to break it */ remaining = g_string_new (""); iter = text; @@ -884,11 +889,6 @@ modest_text_utils_quote_plain_text (const gchar *text, q = g_string_append (q, attachments_string); g_free (attachments_string); - if (signature != NULL) { - q = g_string_append_c (q, '\n'); - q = g_string_append (q, signature); - } - return g_string_free (q, FALSE); } -- 1.7.9.5